Issue with latest openrov-cockpit git


#1

Hi,

I try to upgrade to the latest openrov-cockpit software. I try to make some adaptation of openrov software to use it with a Raspberry + GrovePi cap.
I was working with the openrov-cocktpit released on 08/15/2015 and all was fine with installation and all was working well.
When I try to use the latest release for the git repository, I can’t have anything in my browser (only a black window):

git clone https://github.com/lavirott/openrov-cockpit.git
cd openrov-cockpit/src
npm install
cd static
npm install
(after that, I change the phamtomjs to replace it by a arm release).
cd …
node app.js

I just have a black screen in my chrome browser without any error. The same kind of install with the openrov-cockpit released on 08/15/2015 was completly functional… Any idea of the problem ?

Last clue: If I relaunch npm install in src, I’ve got the following problem (everything is ok if I have a second call to npm install in src/static):

pi@raspberrypi:~/openrov-cockpit/src$ npm install
npm WARN package.json OpenROV-Cockpit@30.1.0 No license field.
npm WARN engine systemd@0.3.0: wanted: {“node”:">=0.8.0 <0.11.0"} (current: {“node”:“0.12.7”,“npm”:“2.11.3”})

serialport@2.0.5 install /home/pi/openrov-cockpit.git/node_modules/serialport
node-pre-gyp install --fallback-to-build

[serialport] Success: “/home/pi/openrov-cockpit.git/node_modules/serialport/build/Release/node-v14-linux-arm/serialport.node” already installed
Pass --update-binary to reinstall or --build-from-source to recompile

OpenROV-Cockpit@30.1.0 install /home/pi/openrov-cockpit.git
node install_lib/bower_install_all.js

Ingnoring /home/pi/openrov-cockpit.git
======== cleaning =======
undefined/bower_components
======== installing =======
undefined
git://github.com/Kalitte/app-states.git#0.6.9
0.6.9 against git://github.com/Kalitte/app-states.git#*
git://github.com/Polymer/webcomponentsjs.git#0.5.5
0.5.5 against git://github.com/Polymer/webcomponentsjs.git#~0.5.4
git://github.com/Polymer/webcomponentsjs.git#0.7.18
0.7.18 against git://github.com/Polymer/webcomponentsjs.git#*
Package App States=bower.json not found

npm ERR! Linux 4.1.12-v7+
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” "install"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! OpenROV-Cockpit@30.1.0 install: node install_lib/bower_install_all.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the OpenROV-Cockpit@30.1.0 install script ‘node install_lib/bower_install_all.js’.
npm ERR! This is most likely a problem with the OpenROV-Cockpit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install_lib/bower_install_all.js
npm ERR! You can get their info via:
npm ERR! npm owner ls OpenROV-Cockpit
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/openrov-cockpit.git/src/npm-debug.log