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.

質問済み 2年前2030ビュー
1回答
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
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ