serverless-plugin-include-dependencies
serverless-plugin-include-dependencies copied to clipboard
Issue including dependencies
I'm using version ^5.1.0 and each time I package the lambdas it doesn't include any dependency.
I have installed the plugin and set the package like the documentation says
The lambda is declared this way
But when packagin, the node modules doesn't show in the folder. and I cant find anything related to this issue
Seems that installing the plugin serverless-plugin-common-excludes
made some of the lambdas to have node_modules, but not all. /And i've defined all lambdas the same
This lambda does have node_modules
This lambda doesn't
Another thing I noticed. If I deploy each function directly it deploys it with the node modules using the serverless deploy function -f {fnName} -u
Same issue here, using :
- node v16.14.2,
- windows
- "serverless-plugin-common-excludes": "^4.0.0",
- "serverless-plugin-include-dependencies": "^5.1.0"
Can deploy only with :
serverless deploy function -f {fnName}
(no update)