<div dir="ltr">Hi Brian,<div><br></div><div>Thanks for the report, and I'm glad you were able to get your Vagrant Box up and running.</div><div><br></div><div>Could you open a bug on the issue tracker so that you can follow our progress in fixing it (<a href="https://github.com/girder/girder/issues/new">https://github.com/girder/girder/issues/new</a>)?</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Thanks,<br>Patrick Reynolds<br>Technical Leader<br>Kitware, Inc.<br>919 869 8848</div></div>
<br><div class="gmail_quote">On Tue, Aug 11, 2015 at 4:22 PM, Brian E Chapman <span dir="ltr"><<a href="mailto:Brian.Chapman@utah.edu" target="_blank">Brian.Chapman@utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;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>
<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" target="_blank">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" target="_blank">girder-users@public.kitware.com</a>" <<a href="mailto:girder-users@public.kitware.com" target="_blank">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><div class="h5">
<div><br>
</div>
<div>
<div style="word-wrap:break-word;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" target="_blank">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" target="_blank">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>
</div></div></span>
</div>
<br>_______________________________________________<br>
Girder-users mailing list<br>
<a href="mailto:Girder-users@public.kitware.com">Girder-users@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/girder-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/girder-users</a><br>
<br></blockquote></div><br></div>