通过npm 404错误安装mfpmigrate-cli

时间:2018-05-02 14:32:54

标签: ibm-mobilefirst mobilefirst-cli

尝试使用npm v3.10.10和node v6.11.4安装mfpmigrate-cli时收到以下错误:

npm ERR! fetch failed http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-all/mockery/-/mockery-1.7.0.tgz
npm ERR! fetch failed http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-all/readdir-recursive/-/readdir-recursive-0.0.4.tgz
npm ERR! fetch failed http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-all/brace-expansion/-/brace-expansion-1.1.8.tgz
npm ERR! fetch failed http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-all/rimraf/-/rimraf-2.6.2.tgz
npm ERR! fetch failed http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-all/grunt-legacy-log/-/grunt-legacy-log-0.1.3.tgz
npm ERR! fetch failed http://visustar.francelab.fr.ibm.com:8081/nexus/content/groups/mobile-npm-all/jshint-stylish/-/jshint-stylish-1.0.2.tgz
npm ERR! Darwin 17.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "mfpmigrate-cli"
npm ERR! node v6.11.4
npm ERR! npm  v3.10.10

npm ERR! fetch failed with status code 404
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/e111128/npm-debug.log

1 个答案:

答案 0 :(得分:2)

杰夫,最新的mfpmigrate-cli存在导致此问题的问题。请尝试以下安装早期版本:

npm install -g mfpmigrate-cli@8.0.20170615055734

有一个与此问题相关的APAR:PI96509。

感谢。汤姆。