npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

NPM CI ignores engine-strict

What I Wanted to Do

Iā€™d like to make sure that my CI fails if the required version of node and npm is not installed.

What Happened Instead

CI does not fail and seems to ignore engines section of package.json

Reproduction Steps

Details

Similar issue which was closed with no reply:

Platform Info

$ npm --versions
npm: 6.12.0

$ node -p process.platform
Darwin