2015-07-19 143 views
1

经过几个小时的搜索,我现在在这里试试我的运气:我有一个存储库,我想注册为一个bower组件。运行bower register直接导致ETIMEDOUT错误 - 来自我的本地机器以及我的服务器。bower注册失败,ETIMEDOUT

这是堆栈:

bower dwbn-theme#*    resolve git://gitlab.dwbn.org/dw-connect/dwbn-theme.git#* 
bower dwbn-theme#*   checkout v1.1.6 
bower dwbn-theme#*   resolved git://gitlab.dwbn.org/dw-connect/dwbn-theme.git#1.1.6? Registering a package will make it installable via the registry (https://bower.herokuapp.com), continue? Yes 
bower dwbn-theme    register git://gitlab.dwbn.org/dw-connect/dwbn-theme.git 
bower      ETIMEDOUT Request to https://bower.herokuapp.com/packages?access_token=658cbd3fe9b6251d2a910528e9959c4027c51134 failed: ETIMEDOUT 

我签个互联网,我可以找到最接近的答案被连接到代理服务器(我没有):Bower install - failed with ETIMEDOUT

使用npm config delete proxy的建议也没有帮助。

还有什么可以解决这个问题吗?

THX很多 安德烈亚斯

回答

0

只是一个短的更新,我们到底怎么解决了这个:

鲍尔允许直接还包括一个仓库,但不会对其进行注册,我们只是去这样的凉亭以.json:

"dependencies": { 
    "dwbn-theme": "ssh://[email protected]/dw-connect/dwbn-theme.git#~1.1", 
    "bootstrap": "~3.3", 
    "jquery": "~2.1", 
    "lama-on-tour-flickr-stream": "ssh://[email protected]/dw-connect/lama-on-tour-flickr-stream.git#~1.0" 
    } 

由于dwbn主题是柠具体到我们的慈善机构,也没有额外的好处,使其全球公众。

希望这有助于

安德烈亚斯