Open nahimdhaney opened 2 months ago
I am facing the same issue as well. Any update?
Hi guys,
Can you share the versions of serverless, serverless-plugin-warmup and serverless-webpack that you are using.
This kind of error is typically caused by the webpack pluging using weird lifecycle hooks. If it's started failing after you updated versions, they probably change something on their end.
Hey @juanjoDiaz Thanks for replying back! I was facing the import module error issue because i was not adding the .warmup folder to the packaged zip correctly. adding this` package: individually: true patterns:
The Plugin is creating 2 lambdas, the first one is empty (the picture) and it has linked an event bridge. I'm using serverless-webpack. (1)
The plugin creates another lambda that contains code but is not linked to anything. (number 2)
Of course, the logs of the warmer lambda (1) said:
"Error: Cannot find module 'handler'\nRequire stack:\n- /var/runtime/index.mjs"
any help?