when i use npm i
to install node_moudles,but something was wrong.
It said:
PhantomJS not found on PATH
Download already available at C:\Users\hdu42\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip
Checksum did not match
But in fact, in this directory on my computer, this file exists.
I don't understand why should I redownload it.
Anybody know? thanks!!!
答案 0 :(得分:0)
错误是由于:
您的\Local\Temp
中存在的Phantomjs与校验和不匹配;在存储库中定义,该存储库引用PHANTOMJS_CDNURL->环境变量。
解决方案:
从https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-windows.zip
提取邮政编码
C:\Users\YourUser\phantomjs-2.1.1-windows\phantomjs\bin;
的路径