PhantomJS not found on PATH

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PhantomJS not found on PATH相关的知识,希望对你有一定的参考价值。

使用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

 

以上是关于PhantomJS not found on PATH的主要内容,如果未能解决你的问题,请参考以下文章

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Pa

maven The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Pa

Not Found The requested URL / was not found on this server.

Object not found! The requested URL was not found on this server.... 报错解决方案

spring,property not found on type

Property 'id' not found on type java.lang.String