Picture of Deepak Rustagi
Not able to install adapt-cli on windows
by Deepak Rustagi - Friday, 30 January 2015, 11:25 AM
 

the problem I am facing is I installed Node.js and Github and Git also on windows 7x64  home edition
When i try to install other packages from npm such as grunt and adapt, not able to install adapt-cli
showing some error in unicode and bufferstool

before installing these should I install python also on my system ?
or am I missing some steps for installation

Please help me out

thanks and regards

Deepak Rustagi

Picture of Chris Jones
Re: Not able to install adapt-cli on windows
by Chris Jones - Friday, 30 January 2015, 12:30 PM
 

Hello Deepak,

Currently the command line tools use a URL transliteration library that runs a python rebuild on install. This can cause errors to be shown in the install log but will not affect the running of the tools.

 

It should still install the command tools successfully.

You can test this by running adapt --version  the response should be the installed version (currently 0.0.18)

At some point it is likely that the library will get changed for another compatible library.

 

For more information about node-gyp see http://stackoverflow.com/questions/21365714/nodejs-error-installing-with-npm

Picture of Deepak Rustagi
Re: Not able to install adapt-cli on windows
by Deepak Rustagi - Friday, 30 January 2015, 12:56 PM
 

following error is coming

Welcome to Git (version 1.9.5-preview20141217)

Run 'git help git' to display the help index.

Run 'git help ' to display help for specific commands.

ShauryaVeer@SHAURYAVEER-45 ~ (master) $ adapt --version

sh.exe": adapt: command not found

 

ShauryaVeer@SHAURYAVEER-45 ~ (master) $

Picture of Chris Jones
Re: Not able to install adapt-cli on windows
by Chris Jones - Friday, 30 January 2015, 5:10 PM
 

 

I'd recommend removing the adapt tools completely and re-installing again. Checking that you have sufficient permissions.

npm uninstall adapt-cli -g

npm install adapt-cli -g

 

Picture of Deepak Rustagi
Re: Not able to install adapt-cli on windows
by Deepak Rustagi - Friday, 30 January 2015, 6:18 PM
 

Apologies Chris for bothering you but this time new error

Welcome to Git (version 1.9.5-preview20141217)
Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.

ShauryaVeer@SHAURYAVEER-45 ~ (master)
$ npm uninstall adapt-cli -g
npm WARN uninstall not installed in C:\Users\ShauryaVeer\AppData\Roaming\npm\nod
e_modules: "adapt-cli"

ShauryaVeer@SHAURYAVEER-45 ~ (master)
$

Picture of Dave Wallace
Re: Not able to install adapt-cli on windows
by Dave Wallace - Monday, 7 September 2015, 3:19 AM
 

Bit late for the original thread, but onlookers might try adding the file location to the globally installed adapt-cli to your Windows environment variable PATH.

For example, for me: ;C:\Users\Dave W\AppData\Roaming\npm\node_modules\adapt-cli\bin

I added that after what was already listed in my environment variable PATH.

To learn more about environment variables in Windows, go here: http://www.computerhope.com/issues/ch000549.htm  or  http://superuser.com/questions/949560/how-do-i-set-system-environment-variables-in-windows-10

You may also need to close the command line after making the addition to your PATH, then re-launch the command line, resuming the steps to create Adapt courses.

Another tip, try and do everything with full Admin priviledges where possible ;)

Picture of Sébastien Bonte
Re: Not able to install adapt-cli on windows
by Sébastien Bonte - Tuesday, 28 June 2016, 1:00 PM
 

Hi everybody,

 

after restart the installation (because of preview and asset upload issue), I just not succed to install the adapt npm. 

It's just running for hours, no error message, no installation.

I've uninstall adapt with npm uninstall -g adapt-cli, but no way to reinstall it.

Did I lose something ?

Having node 0.12.7

git and grunt installed (no problem to run npm install -g grunt-cli).

Thanks a lot for any idea !

Picture of Helen Bailey
Re: Not able to install adapt-cli on windows
by Helen Bailey - Tuesday, 28 June 2016, 5:15 PM
 

I'm not sure if there are other reasons but you need to make sure you have a minimum of node 4.2.2

HTH

Helen

Picture of Sébastien Bonte
Re: Not able to install adapt-cli on windows
by Sébastien Bonte - Tuesday, 28 June 2016, 6:42 PM
 

Yes it's true Helen, I just tried so many things...

Initially, with nodist, then I resinstall older version of node. I just tried to run with node 4.2.2, but the same thing happened.

I'ts running and never stop, no error message..

Regards