Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
amplify mock uses old node version

I'm using amplify mock from AWS Amplify to mock my AppSync with lambda functions for development purposes locally. This works great on many devices, but one colleague has a problem while executing one lambda function. We figured out that amplify mock uses an old node version to execute the lambda functions.

We created a complete new amplify project and added a simple lambda function (errortest) to get the nodejs version:

exports.handler = async (event) => JSON.stringify(process.version);

... and a GraphQL query to return the result:

type Query {
  errortest: String @function(name: "errortest-${env}")
}

On my colleagues device this returns v12.22.7, on my device v16.14.0. We both have the same node version installed: node -v returns v16.14.0 on both devices. We share the exact same codebase. In the cloudformation template the confiured runtime is "Runtime": "nodejs14.x"

Any ideas how to fix this?

BR, Stefan

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!