Layers + node_modules issue #118
Replies: 1 comment
-
Hi there ! You will find the procedure to use here in the documentation : https://hammerstone.dev/sidecar/docs/main/functions/handlers-and-packages#separate-modules But to keep things simple, you'll need to create a |
Beta Was this translation helpful? Give feedback.
-
I might be doing this wrong however it seems when I use the @sparticuz/chrome-aws-lambda or any layer for that matter it negates everything that is inside my node_modules directory.
For example, I have these 2 lines of code
The lambda function can find "chrome-aws-lambda" using the layer but gives me this error when trying to find "puppeteer-extra"
If I get rid of the layer it will find the "puppeteer-extra"
Any thoughts on this or am I doing it completely wrong?
Beta Was this translation helpful? Give feedback.
All reactions