How to include the path for the node binary npm was executed with

后端 未结 4 959
天命终不由人
天命终不由人 2021-01-30 03:06

Windows, VSC, Running npm start got this

npm WARN lifecycle The node binary used for scripts is C:\\Program Files\\nodejs\\node.exe but npm

4条回答
  •  北恋
    北恋 (楼主)
    2021-01-30 03:30

    Here's another way that works: npm config set scripts-prepend-node-path auto

提交回复
热议问题