Picture of Łukasz Grela
Problem with adapt installation
by Łukasz Grela - Friday, 30 January 2015, 12:10 PM
 

My friend has tried to install the adapt framework, he did the same steps as me (it works fine for me) but he has issues with the npm isntall adapt-cli -g command, he has following output:

 

C:\Users\[USER]>npm install adapt-cli -g
npm WARN `git config --get remote.origin.url` returned wrong result (git://githu
b.com/adaptlearning/download.git)
npm ERR! git clone git://github.com/adaptlearning/download.git Cloning into bare
 repository 'C:\Users\[USER]\AppData\Roaming\npm-cache\_git-remotes\git-g
ithub-com-adaptlearning-download-git-2681a17e'...
npm ERR! git clone git://github.com/adaptlearning/download.git fatal: unable to
connect to github.com:
npm ERR! git clone git://github.com/adaptlearning/download.git github.com[0: 192
.30.252.129]: errno=No error
npm ERR! Error: Command failed: Cloning into bare repository 'C:\Users\Himanshu.
pant\AppData\Roaming\npm-cache\_git-remotes\git-github-com-adaptlearning-downloa
d-git-2681a17e'...
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 192.30.252.129]: errno=No error
npm ERR!
npm ERR!
npm ERR!     at ChildProcess.exithandler (child_process.js:658:15)
npm ERR!     at ChildProcess.emit (events.js:98:17)
npm ERR!     at maybeClose (child_process.js:766:16)
npm ERR!     at Process.ChildProcess._handle.onexit (child_process.js:833:5)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "adapt-cli" "-g"
npm ERR! cwd C:\Users\[USER]
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! code 128
npm ERR! not ok code 0

 

what could it be that is not working for him?

Picture of Łukasz Grela
Re: Problem with adapt installation
by Łukasz Grela - Friday, 30 January 2015, 1:31 PM
 

We have passed this error (some issue with github connection) but now he is seeing this:

GET http://localhost:9001/ net::ERR_CONNECTION_REFUSED

after executing grunt server,

Weird thing is that it is not working for courses created today but works for old one

 

Picture of Chris Jones
Re: Problem with adapt installation
by Chris Jones - Friday, 30 January 2015, 5:06 PM
 

Not really sure what exactly could do that, but I would look into firewall type issues on his computer. The server should be running on port 9001 and your browser should just connect, but the connection is being refused for some reason.