NodeJS Elasticbeanstalk Worker environment fails with `You didn't specify a Node.js version in the 'package.json'`

0

When creating a new Worker Elasticbeanstalk environment with a Sample code bundle I face You didn't specify a Node.js version in the 'package.json' everytime. WebServer environment works fine though. Must be something with Sample code itself.

demandé il y a 2 ans1998 vues
1 réponse
0

Do you have a package.json as part of the sample code?

If no create the file similar to below

{
    "engines": { "node" : "14.16.0" }
}

If yes does it contain an engine reference similar to above?

RoB
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions