Picture of Michael Arias
Dev Environment Setup ISSUE
by Michael Arias - Saturday, 30 August 2014, 3:32 PM
 

Hello,

I installed NodeJS and Git, I open Git bash command line tool and tried the following code as described in the setup documentation:

$ npm install adapt-cli -g

I Immediately see a WARN 'git config --get remote.origin.url' returned wrong result <git://github.com/SpongeUK/download.git>

And then a long list of errors which I believe stem from that warning. How can I resolve this issue?

 

Thanks

Picture of Dan Gray
Re: Dev Environment Setup ISSUE
by Dan Gray - Tuesday, 2 September 2014, 9:30 AM
 

Hi Michael

I get the same result when I run "npm install adapt-cli -g" from a windows command prompt. Running from Git Bash installs the cli tools. Can you check if you have Git in your path.

It could also be an issue with a firewall blocking "git://". You could try amending the git config to use https by using the following command in Git bash:

git config --global url."https://".insteadOf git://

Dan