joshmarinacci/ElectronIDE

npm install fails on Ubuntu 14.04

riban-bw opened this issue · 6 comments

Running npm install gives the following warnings and errors:

npm WARN package.json ElectronIDE@0.0.1 No repository field.
...

serialport@1.4.0 install /home/brian/src/arduino/ElectronIDE/node_modules/serialport
node-pre-gyp install --fallback-to-build

npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! weird error 1
npm ERR! not ok code 0

nodejs electron then fails.

I had the same issue with old node version - no such problem after i updated it.

#wturyn - I have updated to the latest in Ubuntu repository (nodejs V0.10.25, npm V1.3.10). Are you saying ElectonIDE requires later versions of either of these? Does anyone know the minimum versions required?

Just saying that updating to 0.10.26 fixed the same issue for me.

I have installed nodejs-legacy package and it now works. Just creating a virtual machine to retest this. Will update this issue after that test.

Confirm that nodejs-legacy allows ElectronIDE to work under Ubuntu 14.04. May I suggest the docs / README are updated to reflect this?

done. thanks.