Open ezequiel454 opened 4 years ago
I am using this plugin too, and fixed the same issue by the following configuration. The working repo is here: https://github.com/Jeff-Tian/serverless-space.
serverless.yml:
package:
patterns:
- '!node_modules/**'
- '!layers/**'
You need to use patterns
instead of include
or exclude
.
You can smoke the the working repo by
curl https://jqp5j170i6.execute-api.us-east-1.amazonaws.com/dev/users/create
curl https://jqp5j170i6.execute-api.us-east-1.amazonaws.com/dev/api
curl https://jqp5j170i6.execute-api.us-east-1.amazonaws.com/dev/nest/cats
Hi Hanhal i saw that you already have this issue on https://github.com/serverless/serverless/issues/5892
You manage to solve this with your plugin ? i am using this plugins:
package: individually: true exclude:
layers: myLayer: package: include:
but nothing work..