How to specify node and npm version for the current project, using .npmrc and .nvmrc
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"
}