Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm serverless-aws-alias-v3 issue - Not attaching all used dependencies in build #229

Open
arunaagarwal opened this issue Apr 21, 2023 · 0 comments

Comments

@arunaagarwal
Copy link

Upgrading Node 14 to Node 16 and all other dependencies. Tried to upgrade serverless npm to "serverless": "^3.28.1" and faced the following issue:
Error: Cannot find module '/Users/user/Desktop/Code/sls-alias-test/node_modules/serverless/lib/plugins/aws/lib/monitorStack'

  • /Users/user/Desktop/Code/sls-alias-test/node_modules/serverless-aws-alias-fixed/index.js
  • /Users/user/Desktop/Code/sls-alias-test/node_modules/serverless/lib/utils/import-module.js
  • /Users/user/Desktop/Code/sls-alias-test/node_modules/serverless/lib/classes/plugin-manager.js

To resolve the above one, used "serverless-aws-alias-v3": "^3.2.0" as suggested in further serverless forum discussions. This worked fine to remove the error but dependencies/ dependent files are not getting attach to the respective build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant