Serverless package or deploy misses some modules from node_modules

I have been having issues when packaging or deploying where I don’t get every package copied into the zip file.
Any thoughts?

A couple of releases ago Serverless stopped packaging dev dependencies in the zip file.

  1. If you’re missing packages but everything is ok then it’s probably just dev dependencies so you can ignore it.
  2. If it’s causing a problem then make sure those dependencies are declared as dependencies rather than dev dependencies
  3. If you’re still stuck then you’ll need to provide more information and possibly open an issue on Github.

All good on v1.18.1
Can close this post now :smiley: