3 idiots
npm install adpact-cli , nodegit@0.16.0 compatible issue
by prabaharan periasamy - Wednesday, 21 June 2017, 6:10 AM
 

when i tried running npm install -g adapt-cli this script getting below error saying nodegit@0.16.0 not compatible with node version v7.4.0

 

 

npm ERR! node v7.4.0
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE

npm ERR! nodegit@0.16.0 install: `node lifecycleScripts/preinstall && node lifecycleScripts/install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nodegit@0.16.0 install script 'node lifecycleScripts/preinstall && node lifecycleScripts/instal
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nodegit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node lifecycleScripts/preinstall && node lifecycleScripts/install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs nodegit
npm ERR! Or if that isn't available, you can get their info via:

 

 

will higher nodegit version fix this issue, please advice

Picture of Matt Leathes
Re: npm install adpact-cli , nodegit@0.16.0 compatible issue
by Matt Leathes - Wednesday, 21 June 2017, 8:59 AM
 

Hi Prabaharan

The installation instructions do recommend that you use the LTS version of Node - currently v6.11.0

Could you switch to that and try again?

3 idiots
Re: npm install adpact-cli , nodegit@0.16.0 compatible issue
by prabaharan periasamy - Wednesday, 21 June 2017, 9:37 AM
 

Thanks Matt, i am trying now.. i was using node v7.4.0, which is not supported?. how about mongo db version?

3 idiots
Re: npm install adpact-cli , nodegit@0.16.0 compatible issue
by prabaharan periasamy - Wednesday, 21 June 2017, 9:47 AM
 

also , would request community, to have compatible/supported versions updated in github wiki, so that new comers will not panic.. like me :)

 

 

Picture of Matt Leathes
Re: npm install adpact-cli , nodegit@0.16.0 compatible issue
by Matt Leathes - Wednesday, 21 June 2017, 10:34 AM
 

Sorry, you didn't say you were trying to install the authoring tool. You only mentioned the adapt-cli so I assumed you were trying to install the framework.

As you may know there are a LOT of releases of Node and it simply isn't feasible for us to test Adapt against every single release.

As a general rule with Node, unless you know you need the latest & greatest features it's best to install the LTS version.

3 idiots
Re: npm install adpact-cli , nodegit@0.16.0 compatible issue
by prabaharan periasamy - Wednesday, 21 June 2017, 12:17 PM
 

True Matt, with regards to Mongodb, i still installed the latest version, and works fine with Node 6.11 version.

finally i got installed adapt tool installed on my machine, manually, following developer guide which i feel easy , when compared to vagrant, where i see getting dead intermittently, forcing me to start again.