Node坑

时间:2017-03-19 02:00:25   收藏:0   阅读:228

在使用vagrant代码同步的时候

npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v5.10.1
npm ERR! npm  v3.8.3
npm ERR! path ../express/bin/express
npm ERR! code EPROTO
npm ERR! errno -71
npm ERR! syscall symlink
 
npm ERR! EPROTO: protocol error, symlink ‘../express/bin/express‘ -> ‘/vagrant/courselooper/node_modules/.bin/express‘

因该是win和linxu对于符号连接不同的原因

npm install --no-bin-links

原文:http://www.cnblogs.com/restful/p/6576786.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!