linux下载phantomjs-2.1.1-linux-x86_64.tar.bz2链接:
https://npm.taobao.org/mirrors/phantomjs//phantomjs-2.1.1-linux-x86_64.tar.bz2
下载 好PhantomJS 文件后,将该文件拷贝到 /tmp/phantomjs
目录下:
[root@localhost ~]# cd /tmp/phantomjs/
[root@localhost phantomjs]# ls
[root@localhost phantomjs]# rz
[root@localhost phantomjs]# ls
phantomjs-2.1.1-linux-x86_64.tar.bz2
再重新 npm install
ok解决
windows下的phantomjs-2.1.1-windows.zip 下载链接:
下载地址:http://npm.taobao.org/dist/phantomjs/