npm安装:end of central directory record signature not found

来源:csdn博客 分类: 文章浏览史 发布时间:2021-09-09 11:37:03 最后更新:2021-09-09 浏览:755
转载声明:
本文为摘录自“csdn博客”,版权归原作者所有。
温馨提示:
为了更好的体验,请点击原文链接进行浏览
摘录时间:
2021-09-09 11:37:03

首先看安装提示,我这里安装提示: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

 

 

php技术微信