You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use exclude and include in the package section of the serverless.yml then the iopipe_handlers modules can be excluded from the resulting package, resulting in a "could not find module" error.
Steps to reproduce the issue:
Update a serverless.yml with something like this:
package:
exclude:
- ./**include:
- dist/**
sls deploy
Notice that invocations fail with a "could not find iopipe_handlers/..." error.
Describe the results you received:
Handlers return errors reporting that they can't find the respective iopipe_handlers module.
Describe the results you expected:
Expected iopipe_handlers modules to be packaged regardless of exclude/include rules.
Application and library versions
Tested with serverless 1.28.0 and latest version of plugin.
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered:
Description
If you use
exclude
andinclude
in thepackage
section of theserverless.yml
then theiopipe_handlers
modules can be excluded from the resulting package, resulting in a "could not find module" error.Steps to reproduce the issue:
serverless.yml
with something like this:sls deploy
Describe the results you received:
Handlers return errors reporting that they can't find the respective
iopipe_handlers
module.Describe the results you expected:
Expected
iopipe_handlers
modules to be packaged regardless ofexclude
/include
rules.Application and library versions
Tested with serverless 1.28.0 and latest version of plugin.
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: