PhantomJS not found on PATH
时间:2017-04-06 18:41:37
收藏:0
阅读:179
使用vue-cli创建项目后,npm init常出现以下问题:PhantomJS not found on PATH
这是因为文件phantomjs-2.1.1-windows.zip
过大,网络不好容易下载失败。
可以使用cnpm安装,这样速度会快一些
cnpm的安装方法:
npm install -g cnpm --registry=https://registry.npm.taobao.org
原文:http://www.cnblogs.com/aoping/p/6674712.html
评论(0)