alexa-samples / skill-sample-nodejs-salesforce

This project demonstrates how to build an Alexa private skill that integrates with your Salesforce data, utilizing account linking and a personal voice code.
MIT No Attribution
31 stars 49 forks source link

NodeJS 6.10 runtime deprecation causes stack rollback #6

Open MattDN93 opened 5 years ago

MattDN93 commented 5 years ago

Deploying the Serverless App Repo project as-is results in an error during stack creation due to the recent Lambda runtime deprecation:

The runtime parameter of nodejs6.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs8.10) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 24019e8b-8f67-11e9-b68f-XXXXXX)

Correcting the Runtime parameter in the Lambda function definition in the stack template to target a newer runtime fixes this, i.e. Runtime: nodejs10.x or Runtime: nodejs8.10 .

SagarGaba1 commented 5 years ago

Hi, I am having the same issue. Please update the nodejs version as stated in the above comment.

Thanks