设置环境变量,以后用 npm14 代替默认的 npmalias node14=d:/node14/node
alias npm14=d:/node14/npm
alias vue14=d:/node14/vue... ...
阅读全文
npm run 错误 scripts-prepend-node-path: npm WARN lifecycle The node binary used for scripts
NODE
0
$ npm run servenpm WARN lifecycle The node binary used for scripts is D:\Program Files\nodejs\node.exe but npm is using D:\node14\node.exe itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.解决:npm config set scripts-prepend-node-p... ...
阅读全文