How to specify node and npm version for the current project, using .npmrc and .nvmrc
2 min readFeb 26
--
You need two files to specify and restrict to use of the proper version of npm and node.
.npmrc
engine-strict=true
package.json
"engines": {
"node": ">= 8.9.4 < 15.0",
"npm": ">= 5.6.0"
}