npm run 错误 scripts-prepend-node-path: npm WARN lifecycle The node binary used for scripts
$ npm run serve
npm 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-path true
0顶
0 踩
共 0 条评论