首页 > 系统服务 > 详细

ubuntu使用bower install问题汇总

时间:2016-05-22 22:52:17      阅读:1157      评论:0      收藏:0      [点我收藏+]

环境:Ubuntu 14.04 LTS

 

1. “/usr/bin/env: node: 没有那个文件或目录”

解决办法:sudo ln -s /usr/bin/nodejs /usr/bin/node

参考:ubuntu中出现错误:“/usr/bin/env: node: 没有那个文件或目录”的解决

 

2. unable to access GITHUB with bower install

bower install 时出现如下错误:

more...
bower bootstrap#^3.3.4 resolved https://github.com/twbs/bootstrap.git#3.3.6 bower angular-animate#^1.5.5 ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/angular/bower-angular-animate.git", exit code of #128 fatal: unable to access ‘https://github.com/angular/bower-angular-animate.git/‘: GnuTLS recv error (-9): A TLS packet with unexpected length was received. Additional error details: fatal: unable to access ‘https://github.com/angular/bower-angular-animate.git/‘: GnuTLS recv error (-9): A TLS packet with unexpected length was received.

解决办法:git config --global url."https://".insteadOf git://

参考:

bower 访问github失败问题

bower install - github.com connection timed out #141

 

3. EACCES Error with Bower intstall

解决办法:sudo bower install --allow-root

参考:EACCES Error with Bower install?

ubuntu使用bower install问题汇总

原文:http://www.cnblogs.com/Amagasaki/p/5518019.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!