Checksum did not match in 'npm i'

时间:2018-07-25 04:45:02

标签: npm

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

Sample Image

But in fact, in this directory on my computer, this file exists.

I don't understand why should I redownload it.

Anybody know? thanks!!!

1 个答案:

答案 0 :(得分:0)

错误是由于:

您的\Local\Temp中存在的Phantomjs与校验和不匹配;在存储库中定义,该存储库引用PHANTOMJS_CDNURL->环境变量。

解决方案: