serverless-heaven / serverless-aws-alias

Alias support for Serverless 1.x
MIT License
189 stars 68 forks source link

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

Open arunaagarwal opened 1 year ago

arunaagarwal commented 1 year ago

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'

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.