dougmoscrop / serverless-plugin-include-dependencies

MIT License
184 stars 40 forks source link

Issue including dependencies #94

Open AlexinGtz opened 11 months ago

AlexinGtz commented 11 months ago

I'm using version ^5.1.0 and each time I package the lambdas it doesn't include any dependency. image

I have installed the plugin and set the package like the documentation says

image The lambda is declared this way

image But when packagin, the node modules doesn't show in the folder. and I cant find anything related to this issue

AlexinGtz commented 11 months ago

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 image This lambda does have node_modules

image This lambda doesn't

AlexinGtz commented 11 months ago

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

Keirodev commented 11 months ago

Same issue here, using :

Can deploy only with : serverless deploy function -f {fnName} (no update)