[~dffrench] Couple of questions on this one. According to this [SO article|https://stackoverflow.com/questions/29349684/how-can-i-specify-the-required-node-js-version-in-packages-json]'s top answer - engine-strict is now deprecated
The new way is to run the following: {code} npm config set engine-strict true {code} which has to be run by the installer . NOTE: without running this command npm installs without even a warning even if the engine value is set in package.json This Once the comman is run it works with npm install, i get the following output {code} pm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for mobile-security-service-ui@0.1.0: wanted: {"node":">=10"} (current: {"node":"8.15.0","npm":"6.4.1"}) npm ERR! notsup Not compatible with your version of node/npm: mobile-security-service-ui@0.1.0 npm ERR! notsup Not compatible with your version of node/npm: mobile-security-service-ui@0.1.0 npm ERR! notsup Required: {"node":">=10"} npm ERR! notsup Actual: {"npm":"6.4.1","node":"8.15.0"} {code}
I was hoping to add that to `make serve` but... Now for the bad news: `npm ci` ignores it - see [here|https://npm.community/t/npm-ci-ignores-engine-strict-true-in-npmrc/4850], and the issues has been closed by npm due to inactivity.
cc [~damurphy] |
|