Search code examples
node.jsnpmibm-mobilefirstibm-mobilefirst-windows

What is the correct node js version for installing mobile first development kit and migration assistance


I have mobile first server version: 8.0.0.00-20180220-083852

From there I downloaded the cli and migration assistance tool, however, I always get this error:

npm ERR! node v6.9.3 npm ERR! npm v3.10.10 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! G:\mobile\nodejs\npm-debug.log

I did a searched on stackoverflow, however, all the suggestion is to use the correct nodejs and npm version. I believed I have used the correct one.

Any ideas? By the way, I am using Windows 10


Solution

  • Minimum supported node.js version is 4.2.3. Also, with the fast evolving node and npm packages, the MobileFirst CLI might not be fully functional with all the available versions of node and npm including the latest versions. Ensure that node is on version 6.11.1 and npm version is 3.10.10, for proper functioning of the CLI.

    For more details see here : Prerequisites