安装mfpdev-cli时出错

时间:2016-10-03 00:58:20

标签: node.js npm ibm-mobilefirst npm-install

我正在尝试安装移动第一个CLI,使用此命令:npm install -g mfpdev-cli

但我收到了错误。我将我的npm降级为3.10.6,因为我发现最新版本可能存在问题。

错误:

npm install -g mfpdev-cli

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/elementtree/-/elementtree-0.1.6.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/npmlog/-/npmlog-2.0.2.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/glob/-/glob-7.0.3.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/q/-/q-1.4.1.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/verror/-/verror-1.6.1.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/findup-sync/-/findup-sync-0.3.0.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/ibm-strings/-/ibm-strings-0.1.4.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/underscore/-/underscore-1.8.3.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/glob/-/glob-7.0.3.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/elementtree/-/elementtree-0.1.6.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/npmlog/-/npmlog-2.0.2.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/q/-/q-1.4.1.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/ibm-strings/-/ibm-strings-0.1.4.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/findup-sync/-/findup-sync-0.3.0.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/verror/-/verror-1.6.1.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/underscore/-/underscore-1.8.3.tgz

npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND 
visustar.francelab.fr.ibm.com visustar.francelab.fr.ibm.com:8081

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/elementtree/-/elementtree-0.1.6.tgz

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-all/glob/-/glob-7.0.3.tgz

npm ERR! fetch failed             

http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/npmlog/-/npmlog-2.0.2.tgz

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/findup-sync/-/findup-sync-0.3.0.tgz

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/ibm-strings/-/ibm-strings-0.1.4.tgz

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/q/-/q-1.4.1.tgz

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/verror/-/verror-1.6.1.tgz

npm ERR! fetch failed 
http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-
all/underscore/-/underscore-1.8.3.tgz

npm ERR! Darwin 15.6.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "mfpdev-
cli"

npm ERR! node v6.6.0

npm ERR! npm  v3.10.6

npm ERR! code ENOTFOUND

npm ERR! errno ENOTFOUND

npm ERR! syscall getaddrinfo


npm ERR! network getaddrinfo ENOTFOUND visustar.francelab.fr.ibm.com 
visustar.francelab.fr.ibm.com:8081

npm ERR! network This is most likely not a problem with npm itself

npm ERR! network and is related to network connectivity.

npm ERR! network In most cases you are behind a proxy or have bad network 
settings.

npm ERR! network 

npm ERR! network If you are behind a proxy, please make sure that the

npm ERR! network 'proxy' config is set properly.  See: 'npm help config'


npm ERR! Please include the following file with any support request:

npm ERR!     /Users/kimnicolemontano/Documents/IBM Mobile First Learning/npm-debug.log

我使用的是macOSX El Capitan Macbook Pro - 10.11.6。我也关闭了防火墙并重新启动了我正在使用的路由器。

1 个答案:

答案 0 :(得分:1)

更新:已向NPM发布修复程序。

这是MobileFirst CLI和npm版本3.10.x的已知问题。降级到3.9.x或3.8.x并且安装将成功通过。