npx报错“Path must be a string. Received undefined”in windows解决方法
在使用Windows上使用较老版本的nodejs,如何我使用的v8.9其自带的npx的版本为9.7,在Windows上使用会存在:“Path must be a string. Received undefined”的错误。通过 GitHub 上的 issue 可以知道改问题已经在最新版的npx中解决了,可以通过npm手动升级到最新版解决。
npm i -g npx
但是运行npx...
原创
2018-08-20 21:14:12 ·
7718 阅读 ·
0 评论