Can’t deploy lambda layer
Feb 20, 2019
Hi! I just run into an error that I can’t deploy the lambda layer but here are how I fixed it. Please give me a clap before you start to fix your problem. I would really appreciated it.
Let’s started!!!!
check :
sls -v
serverless framework version 1.34 is supported lambda layer. if your version outdated, please update.
how to update
USE terminal on instead of the terminal on vscode.
- check your node version. I use node v11
- Install serverless by specific version.
npm install -g serverless@1.38.0
3. closed terminal and then open. check serverless version by
sls -v
4. if your version is matching serverless version that you installed.
YOU'RE GOOD TO GO!!!!