Picture of R Rothrock
Trying to install on Windows
by R Rothrock - Tuesday, 12 April 2016, 6:20 PM
 

Following these instructions to install Adapt on Windows Server 2008 r2.  I've got the following installed:

  • git version 2.8.1.windows.1
  • node v4.2.6
  • nodist 0.7.2
  • npm 3.8.6
  • grunt-cli v1.2.0

So far so good. But when I try to npm install -g adapt-cli I get a bunch of warnings and errors. These seem to be the most useful of the nearly 6000 lines in the log. I'm pretty novice at this server stuff so please keep it simple. Any advice is appreciated. Thanks.

5733 verbose stack Error: Command failed: git -c core.longpaths=true clone --template=C:\Users\Z682080a\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/adaptlearning/download.git C:\Users\Z682080a\AppData\Roaming\npm-cache\_git-remotes\git-github-com-adaptlearning-download-git-d0f0f50f
5733 verbose stack Cloning into bare repository 'C:\Users\Z682080a\AppData\Roaming\npm-cache\_git-remotes\git-github-com-adaptlearning-download-git-d0f0f50f'...
5733 verbose stack fatal: read error: Invalid argument
5733 verbose stack
5733 verbose stack at ChildProcess.exithandler (child_process.js:213:12)
5733 verbose stack at emitTwo (events.js:87:13)
5733 verbose stack at ChildProcess.emit (events.js:172:7)
5733 verbose stack at maybeClose (internal/child_process.js:821:16)
5733 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
5734 verbose cwd C:\
5735 error Windows_NT 6.1.7601
5736 error argv "C:\\Program Files (x86)\\Nodist\\v\\nodev4.2.6\\node.exe" "C:\\Program Files (x86)\\Nodist\\bin\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "adapt-cli"
5737 error node v4.2.6
5738 error npm v3.8.6
5739 error code 128
5740 error Command failed: git -c core.longpaths=true clone --template=C:\Users\Z682080a\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/adaptlearning/download.git C:\Users\Z682080a\AppData\Roaming\npm-cache\_git-remotes\git-github-com-adaptlearning-download-git-d0f0f50f
5740 error Cloning into bare repository 'C:\Users\Z682080a\AppData\Roaming\npm-cache\_git-remotes\git-github-com-adaptlearning-download-git-d0f0f50f'...
5740 error fatal: read error: Invalid argument
5741 error If you need help, you may report this error at:
5741 error <https://github.com/npm/npm/issues>

Picture of Tom Taylor
Re: Trying to install on Windows
by Tom Taylor - Wednesday, 13 April 2016, 10:03 AM
 

Looks like the git clone is failing. Are you behind a network proxy? 

Picture of L A
Re: Trying to install on Windows
by L A - Friday, 15 April 2016, 5:27 PM
 

Hi Rothrock,

Were you ever successful with your install? I am doing the install on a Windows 2012 server and seem to be blocked at the same place you indicated the adapt-cli install.

I don't have a proxy set up.

Thanks,

Laura