dougmoscrop / serverless-plugin-include-dependencies

MIT License
184 stars 40 forks source link

unable to find query-string #20

Closed 3boysdad closed 5 years ago

3boysdad commented 6 years ago

so...i keep getting that it can't find, during the command "serverless package", the query-string module. i've tried to install it globally, tried installing it locally to that project. same error..very curious why this happens...thoughts.

dougmoscrop commented 6 years ago

Hey sorry my radar didn't pick this up; the short answer is you should not have this issue if the installation is "normal". If you're npm link then it should not work - but should also throw a different error.

I think it's possible that if query-string is also in your devDependencies, it gets excluded by serverless. Can you try disabling the excludeDevDependencies feature of serverless?

Otherwise, if you can provide a minimally reproducible repo I can take a look to debug.

dougmoscrop commented 5 years ago

Please re-open if you are still experiencing issues, though there's been a lot of changes made to this plugin since this issue was created!