AWS Lambda Error: “Cannot find module '/var/task/index'”

后端 未结 9 1703
忘掉有多难
忘掉有多难 2020-12-23 02:54

Node.js Alexa Task Issue

I\'m currently coding a Node.js Alexa Task via AWS Lambda, and I have been trying to code a function that receives informat

9条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-23 03:11

    In my case this was caused by Node running out of memory. I fixed that by adding --memory-size 1500 to my aws lambda create-function ... command.

提交回复
热议问题