我正在尝试使用Bower安装handlebarjs包。我收到以下错误。
有什么想法吗?
答案 0 :(得分:2)
尝试使用直接github网址
进行安装bower install https://github.com/wycats/handlebars.js/
答案 1 :(得分:1)
我需要为git和bower设置代理
对于git
git config --global http.proxy http://<domain>%5C<username>:<password>@proxy.server.com:8080
git config --global https.proxy http://<domain>%5C<username>:<password>@proxy.server.com:8080
编辑你的.bowerrc文件(应该在你的bower.json文件旁边)并添加想要的代理配置
"proxy":"http://<host>:<port>",
"https-proxy":"http://<host>:<port>"