serverless-plugin-include-dependencies icon indicating copy to clipboard operation
serverless-plugin-include-dependencies copied to clipboard

throws an error when some of the modules are included in the packaging process

Open riccardo97p opened this issue 3 years ago • 0 comments

I have several stacks deployed individually, each one developed as a different service, but some of the common logic is included in a common directory that is included with package.include.

For this reason the process fails with:

  • " Cannot find module '../commonUtils/utils' " since the real path is '../../commonUtils/utils'

But since the packaging is a process carried out by serverless it should be considered this scenario

riccardo97p avatar May 06 '21 13:05 riccardo97p