Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

Windows下的vagrant虚拟机运行出错,cnpm install --no-bin-links也不行

$
0
0

Windows下的vagrant虚拟机运行出错,cnpm install --no-bin-links也不行,怎么破!!!!因为npm太慢,用的cnpm,淘宝npm镜像。

npm倒是没有报这个错误,但是速度太慢了。

vagrant@homestead:/usr/share/nginx/html/tanteng.me$ sudo cnpm install Error: EPROTO: protocol error, symlink ‘…/.3.9.1@gulp/bin/gulp.js’ -> '/usr/share/nginx/html/tanteng.me/node_modules/.bin/gulp’ Error: EPROTO: protocol error, symlink ‘…/.3.9.1@gulp/bin/gulp.js’ -> '/usr/share/nginx/html/tanteng.me/node_modules/.bin/gulp’ at Error (native) npminstall version: 2.0.2 npminstall args: /usr/local/bin/node /usr/local/lib/node_modules/cnpm/node_modules/.bin/npminstall --china --userconfig=/home/vagrant/.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=https://registry.npm.taobao.org


Viewing all articles
Browse latest Browse all 14821

Trending Articles