Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

149
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda