I am an intern at my company, I just need to wrap a few things up before I leave. One of the problems I'm having is AWS Cognito, specifically AWS Amplify CLI. My laptop
amplify --version
returns 4.17.1
This is ideal. The office computer is showing me 3.10.0 This is nowhere near ideal since especially when I do
amplify push
the following errors pops up:
Resource Name: UserPoolClientLambda (AWS::Lambda::Function)
Event Type: create
Reason: The runtime parameter of nodejs8.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: f6d965b6-e4a6-4a0e-a380-fc07ac950266)
I have tried the following
npm install -g @aws-amplify/cli
I've tried
npm uninstall -g @aws-ampify/cli
restart computer then
npm install -g @aws-amplify/cli
The amplify --version
hasn't changed from the old 3.10.0
Can someone help me here?