As a bonus, in order to get a green CI, I had to remove Node 6 from the versions we test again, since this seems to happen otherwise:
$> node -v
v6.17.1
$> yarn install --frozen-lockfile --non-interactive
yarn install v1.22.17
[1/5] π Validating package.json...
[2/5] π Resolving packages...
[3/5] π Fetching packages...
error supports-color@7.2.0: The engine "node" is incompatible with this module. Expected version ">=8". Got "6.17.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Node.js 6.x (βBoronβ), which has been maintained as a long-term stable (LTS) release line since fall of 2016, is reaching its scheduled end-of-life (EOL) on April 30, 2019. β source
This pull request addresses https://github.com/ember-cli/ember-cli/issues/6277, trying to look into the
process.argv
passed to the Node process to evaluate if weβre looking into anember init
execution. Feedback welcome!As a bonus, in order to get a green CI, I had to remove Node 6 from the versions we test again, since this seems to happen otherwise: