-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install安装出错phantomjs #192
Comments
如果是window系统,翻墙下载 http://cdn.bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-windows.zip |
bitbucket cdn被墙了,找个http 代理设置一下npm吧 npm config set proxy http://www.xxx.com:8080 |
如果用了goagent, 可以这么设置 npm config set proxy http://127.0.0.1:8087 |
不错 |
@2betop 我觉得 不过尝试用代理有时候还是下不下来或者速度很慢...我觉得最好的方法还是使用任何方法(比如去同事那里拷一份,或者别的网站上找一个相同版本的文件神马的)搞到photomJS文件,然后保存在安装时候访问的临时文件目录下, |
phantomjs需要翻墙下载,我手动下载后放到npm install对应的phantomjs那个目录下(把整个zip文件放过去),再试试,祝你成功
The text was updated successfully, but these errors were encountered: