particle-iot-archived / particle-dev-local-compiler

Package providing local compilation for Particle devices in Particle Dev
MIT License
11 stars 0 forks source link

Particle Dev.app includes an incompatible release of node #31

Closed rei-vilo closed 7 years ago

rei-vilo commented 7 years ago

Installation of particle-dev-local-compiler-0.1.0 fails due to node version mismanagement, on macOS 10.12.4.

npm WARN engine sb-exec@3.1.0: wanted: {"node":">=6.0.0"} (current: {"node":"0.10.40","npm":"2.13.3"}) npm WARN engine strip-bom-buf@1.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.40","npm":"2.13.3"}) npm ERR! Darwin 16.5.0 npm ERR! argv "/Applications/IDE/Particle Dev.app/Contents/Resources/app/apm/bin/node" "/Applications/IDE/Particle Dev.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/ReiVilo/.particledev/.apm/.apmrc" "--userconfig" "/Users/ReiVilo/.particledev/.apmrc" "install" "/private/var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/d-11749-60287-1780dmk/package.tgz" "--target=0.36.8" "--arch=x64" npm ERR! node v0.10.40 npm ERR! npm v2.13.3 npm ERR! code ENOTSUP

npm ERR! notsup Unsupported npm ERR! notsup Not compatible with your version of node/npm: docker-compose-tool@0.0.1 npm ERR! notsup Required: {"node":">= 6.2"} npm ERR! notsup Actual: {"npm":"2.13.3","node":"0.10.40"}

npm ERR! Please include the following file with any support request: npm ERR! /private/var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/apm-install-dir-11749-60287-jp6u3t/npm-debug.log

while

$ node -v v6.9.1

rei-vilo commented 7 years ago

nodeprovided with Particle Dev.app is too old!

$ /Applications/IDE/Particle\ Dev.app/Contents/Resources/app/apm/bin/node -v v0.10.40

rei-vilo commented 7 years ago

Replacing /Applications/IDE/Particle\ Dev.app/Contents/Resources/app/apm/bin/node with node release 6.9.1 fails due to

$ node --harmony_collections node: bad option: --harmony_collections

suda commented 7 years ago

Yes, we'll update Particle Dev App this week. Until then this package can be tested in latest Atom

rei-vilo commented 7 years ago

I'm already using the latest release of Atom.

capture 2017-05-10 a 12 57 41

I don't understand the difference between the latest Atom IDE and the available Particle Dev IDE for managing extensions.

rei-vilo commented 7 years ago

Related to #30

suda commented 7 years ago

Oh sorry, let me explain: Particle Dev consists of multiple Atom packages. They can be installed in Atom itself and this is how we ship the latest, beta packages.

Particle Dev App is a standalone version of Atom that bundles with all those packages to make the installation easier.

rei-vilo commented 7 years ago

Ok, thanks!

I'll wait for the new release of Particle Dev, as my installation of Atom is already used with another set of packages.

rei-vilo commented 7 years ago

Any update? Thank you!

suda commented 7 years ago

Just an update, we updated the Particle Dev App to 1.18.0 which bundles new Node :)