Search code examples
node.jsnpmibm-mobilefirstnpm-install

Error installing mfpdev-cli


I'm trying to install the mobile first CLI, used this command: npm install -g mfpdev-cli

But I'm getting errors. I downgraded my npm to 3.10.6 because I found out that there maybe issues on the latest version.

Error:

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

I using a macOSX El Capitan Macbook Pro - 10.11.6. I've also turned off the firewall and restarted the router that I'm using.


Solution

  • Update: a fix has been released to NPM.

    This is a known issue with MobileFirst CLI and version 3.10.x of npm. Downgrade to 3.9.x or 3.8.x and the installation will pass successfully.