<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>As a follow-up to my previous e-mail, if I ssh to the vagrant machine and manually complete the steps in the playbook.yml file everything seems to install and I’m able to run Girder. Don’t know what this implies as far as the source of the error, but that
it seemed useful to know.</div>
<div><br>
</div>
<div>Brian</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Brian Chapman <<a href="mailto:brian.chapman@utah.edu">brian.chapman@utah.edu</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, August 11, 2015 at 1:55 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:girder-users@public.kitware.com">girder-users@public.kitware.com</a>" <<a href="mailto:girder-users@public.kitware.com">girder-users@public.kitware.com</a>><br>
<span style="font-weight:bold">Subject: </span>Girder Vagrant box fails to build on NPM<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi,</div>
<div><br>
</div>
<div>I just forked and cloned the Girder repository on github. When I try to bring up the Girder vagrantbox, it fails on the NPM install:</div>
<div><br>
</div>
<div>
<div>TASK: [run npm install] ******************************************************* </div>
<div><127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant</div>
<div><127.0.0.1> REMOTE_MODULE npm path=/vagrant</div>
<div><127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/Users/brian/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/Users/brian/Code/girder/.vagrant/machines/default/virtualbox/private_key"
-o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 127.0.0.1 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1439320042.19-167413397287347
&& chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1439320042.19-167413397287347 && echo $HOME/.ansible/tmp/ansible-tmp-1439320042.19-167413397287347'</div>
<div><127.0.0.1> PUT /var/folders/bn/hc7234pd2cd0gxz98dn0zq_40000gn/T/tmpyO2q46 TO /home/vagrant/.ansible/tmp/ansible-tmp-1439320042.19-167413397287347/npm</div>
<div><127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/Users/brian/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/Users/brian/Code/girder/.vagrant/machines/default/virtualbox/private_key"
-o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 127.0.0.1 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1439320042.19-167413397287347/npm;
rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1439320042.19-167413397287347/ >/dev/null 2>&1'</div>
<div>failed: [default] => {"cmd": "/usr/bin/npm install", "failed": true, "rc": 1}</div>
<div>stderr: </div>
<div>npm ERR! <a href="mailto:girder@1.3.1">girder@1.3.1</a> postinstall: `grunt init && grunt`</div>
<div>npm ERR! Exit status 3</div>
<div>npm ERR! </div>
<div>npm ERR! Failed at the <a href="mailto:girder@1.3.1">girder@1.3.1</a> postinstall script.</div>
<div>npm ERR! This is most likely a problem with the girder package,</div>
<div>npm ERR! not with npm itself.</div>
<div>npm ERR! Tell the author that this fails on your system:</div>
<div>npm ERR! grunt init && grunt</div>
<div>npm ERR! You can get their info via:</div>
<div>npm ERR! npm owner ls girder</div>
<div>npm ERR! There is likely additional logging output above.</div>
<div>npm ERR! System Linux 3.13.0-55-generic</div>
<div>npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"</div>
<div>npm ERR! cwd /vagrant</div>
<div>npm ERR! node -v v0.10.37</div>
<div>npm ERR! npm -v 1.4.28</div>
<div>npm ERR! code ELIFECYCLE</div>
<div>npm ERR! </div>
<div>npm ERR! Additional logging details can be found in:</div>
<div>npm ERR! /vagrant/npm-debug.log</div>
<div>npm ERR! not ok code 0</div>
</div>
<div><br>
</div>
<div>Wondering if others have been able to work through this.</div>
<div><br>
</div>
<div>Brian</div>
<div>
<div>
<div>— </div>
<div>Brian E. Chapman, Ph.D.</div>
<div>Associate Professor</div>
<div>Department of Radiology</div>
<div>University of Utah</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>