Replies: 3 comments 1 reply
-
What asset are you trying to upload, and what is your code? |
Beta Was this translation helpful? Give feedback.
-
Hi @peterwoodworth thanks for looking into this. I'm sorry, I found the problem (the problem was me) and forgot to report back. The issue was with a layer with node_modules (chrome on a lambda). I recently |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This project was deployable a few days ago. Now it's consistently failing at this deploy stage.
Any ideas on what it could be?
CDK Version: 2.86.0
It seems the compilation is not copying any .js files into the cdk.out directory
cdk.out/asset.04240ea1c08096049a762ee2db8dcb44c278d1373f46518776680674cd231741/nodejs/node_modules/
theENOENT
above is because a missing cli.js.For any module. If I open the same folder on the root node_modules, I see the .js files.
Force copying node_modules "fixes" it
cp -rf node_modules/* /Users/pablo/project/backend/cdk.out/asset.04240ea1c08096049a762ee2db8dcb44c278d1373f46518776680674cd231741/nodejs/node_modules/
but then exceeds the bundle size.
Beta Was this translation helpful? Give feedback.
All reactions