使用vue-cli创建项目后,npm init常出现以下问题:PhantomJS not found on PATH

PhantomJS not found on PATH

这是因为文件phantomjs-2.1.1-windows.zip过大,网络不好容易下载失败。

可以使用cnpm安装,这样速度会快一些

cnpm的安装方法:

npm install -g cnpm --registry=https://registry.npm.taobao.org

PhantomJS not found on PATH

 

相关文章:

  • 2022-12-23
  • 2021-10-04
  • 2021-04-17
  • 2022-02-05
  • 2021-11-28
猜你喜欢
  • 2022-12-23
  • 2021-08-27
  • 2021-06-26
  • 2022-12-23
  • 2021-11-12
相关资源
相似解决方案