Я создал приложение Angular по умолчанию и попытался развернуть его на AWS с помощью npm run build: serverless: deploy.Ошибка, как показано ниже.Есть идеи как обойти это?У меня последняя версия узла и npm.Спасибо.
Serverless: Stack create finished...
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service testp.zip file to S3 (873.96 KB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
................
Serverless: Operation failed!
Serverless: View the full error output: https://eu-central-
1.console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stack/detail?
stackId=arn%3Aaws%3Acloudformation%3Aeu-central-1%3A975506270269%3Astack%2Ftestp-
production%2Fa4c76e40-dd7b-11e9-8f46-0649507b8a60
Serverless Error ---------------------------------------
An error occurred: ApiLambdaFunction - The runtime parameter of nodejs6.10 is no longer
supported for creating or updating AWS Lambda functions. We recommend you use the new runtime
(nodejs10.x) while creating or updating functions. (Service: AWSLambdaInternal; Status Code:
400; Error Code: InvalidParameterValueException; Request ID: 4b39e05c-f633-43d5-a33d-
9640d37c572e).
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
OS: darwin
Node Version: 10.16.3
Serverless Version: 1.40.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! testp@0.0.0 deploy: `serverless deploy`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the testp@0.0.0 deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.