Open lastdoctor opened 2 years ago
Same here, the weird thing is that the same code deployed correctly 2 months ago using Github Actions.
if you are using yarn
, configure your serverless.yml
like this:
custom:
bundle:
packager: yarn
i just ran into this issue and found that it was from having updated my npm version from 6.x to 8.x while doing some other bundling testing. i reset it to 6.x and was fine :+1:
The fix for me was to remove the packages that were using "joi" package.
Fortunately, I was not using it in my project, and then deployment was fine. 👍
Hi guys when I deploy my project I have a problem with the deployment
serverless.yml