首先看安装提示,我这里安装提示:PhantomJS not found on PATH,这个提示表明我的环境里面缺少PhantomJS信息,将环境补全PhantomJS 信息就可以了。
下载PhantomJS:https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip
将下载的文件放置 G:\WINDOWS\Temp\phantomjs (我这里修改了临时目录的路径正常路径为:C:\Users\{用户名}\AppData\Local\Temp\phantomjs\)
在需要安装的目录执行:
npm uninstall
npm install
本文指导如何解决'PhantomJS not found on PATH'错误,包括下载、路径设置及npm操作,确保环境配置完成。
4665

被折叠的 条评论
为什么被折叠?



