npm 报错 npm WARN lifecycle npm is using C:\Program Files\nodejs\node.exe but there is no node binary

只需要这一行代码:

npm config set scripts-prepend-node-path true

你可能感兴趣的:(BUG,js,vue,npm,vue,webpack)