今日、CircleCIビルドが失敗し始めました。糸がember-cliのインストールに問題があるようです。私はローカルで試してみて、突然同じエラーが発生しています。ヤーンインストールember-cliが互換性のないノードエンジンで失敗する
最近ember-cli 2.13.2にアップグレードしましたが、アップグレード後にビルドが機能していたため、関連性はありません。ここで
は私のコンソール出力です:
~/code/my-app(master ✗) yarn global add ember-cli
yarn global v0.24.6
warning No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version "=> ^4.0.0".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
CircleCI環境のノードのバージョンが4以上(またはlts/argonまたはlts/boron)ですか? yamlファイルで指定する必要があるかもしれません。 https://circleci.com/docs/1.0/configuration/#node-version –