joshmarinacci / ElectronIDE

New web based Arduino IDE
BSD 3-Clause "New" or "Revised" License
246 stars 50 forks source link

npm install fails on Ubuntu 14.04 #37

Closed riban-bw closed 10 years ago

riban-bw commented 10 years ago

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.

wturyn commented 10 years ago

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

riban-bw commented 10 years ago

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?

wturyn commented 10 years ago

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

riban-bw commented 10 years ago

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.

riban-bw commented 10 years ago

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

joshmarinacci commented 10 years ago

done. thanks.