2016-01-06 97 views
0

我有一個內部涼亭註冊表。 我.bowerrc看起來是這樣的:無法讀取屬性`註冊表'bower

{ 
    "resolvers": [ 
    "bower-art-resolver" 
    ], 
    "registry": //internal registry address 
} 

當我嘗試運行bower install我得到:

bower [31merror  [39m Cannot read property 'registry' of undefined 
[33m 
Stack trace: 
[39mTypeError: Cannot read property 'registry' of undefined 
    at Function.ArtifactoryResolver.extractArtifactoryRegistry 

這究竟是爲什麼?

回答

0

Artifactory升級後(版本4.8.0)我面臨同樣的問題,並用npm重新安裝bower-art-resolver解決了這個問題。