• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
阿愿的笔记本
feedId:68846209220766720+userId:66725942962965504 ]
   首页    新随笔       管理     
Node坑

在使用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

posted on 2017-03-18 23:34  阿愿的笔记本  阅读(115)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3