After executing this command on my Win 8.1Pro64bit (no laughing!) I get this
C:\Users\Andy>node --version
v4.2.4
C:\Users\Andy>npm --version
2.14.12
C:\Users\Andy>particle --version
module.js:340
throw err;
^
Error: Cannot find module 'es6-promisify'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:289:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (C:\Users\Andy\AppData\Roaming\npm\node_modules\particle-cli\dist\cmd\library_init.js:20:17)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
Is there another node update required? Or what else could be wrong?
That was my output during one of my tries
C:\Users\Andy>npm install -g https://github.com/spark/particle-cli/releases/download/v2.0.0-libraries.2/particle-cli-2.0.0-libraries.2.tgz
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
> spawn-sync@1.0.15 postinstall C:\Users\Andy\AppData\Roaming\npm\node_modules\particle-cli\node_modules\yeoman-environment\node_modules\inquirer\node
_modules\external-editor\node_modules\spawn-sync
> node postinstall
> spawn-sync@1.0.15 postinstall C:\Users\Andy\AppData\Roaming\npm\node_modules\particle-cli\node_modules\particle-cli-library-manager\node_modules\yeo
man-generator\node_modules\yeoman-test\node_modules\inquirer\node_modules\external-editor\node_modules\spawn-sync
> node postinstall
-
> serialport@3.1.2 install C:\Users\Andy\AppData\Roaming\npm\node_modules\particle-cli\node_modules\serialport
> node-pre-gyp install --fallback-to-build
[serialport] Success: "C:\Users\Andy\AppData\Roaming\npm\node_modules\particle-cli\node_modules\serialport\build\Release\serialport.node" is installed
via remote
C:\Users\Andy\AppData\Roaming\npm\particle -> C:\Users\Andy\AppData\Roaming\npm\node_modules\particle-cli\bin\particle.js
particle-cli@2.0.0-libraries.2 C:\Users\Andy\AppData\Roaming\npm\node_modules\particle-cli
βββ cli-spinner@0.2.5
βββ xtend@4.0.1
βββ semver@5.3.0
βββ chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, has-ansi@2.0.0, strip-ansi@3.0.1)
βββ temp@0.8.3 (os-tmpdir@1.0.1, rimraf@2.2.8)
βββ cli-table@0.3.1 (colors@1.0.3)
βββ glob@4.5.3 (inherits@2.0.1, once@1.3.3, inflight@1.0.5, minimatch@2.0.10)
βββ node-wifiscanner2@1.2.0 (os-locale@1.4.0)
βββ inquirer@0.11.4 (strip-ansi@3.0.1, ansi-regex@2.0.0, ansi-escapes@1.4.0, through@2.3.8, rx-lite@3.1.2, cli-width@1.1.1, figures@1.7.0, string-widt
h@1.0.2, readline2@1.0.1, cli-cursor@1.0.2, run-async@0.1.0)
βββ when@3.7.7
βββ form-data@1.0.0-rc4 (async@1.5.2, combined-stream@1.0.5, mime-types@2.1.11)
βββ binary-version-reader@0.4.0 (buffer-crc32@0.2.5, h5.buffers@0.1.1)
βββ latest-version@2.0.0 (package-json@2.4.0)
βββ hogan.js@2.0.0
βββ request@2.74.0 (aws-sign2@0.6.0, tunnel-agent@0.4.3, forever-agent@0.6.1, oauth-sign@0.8.2, is-typedarray@1.0.0, caseless@0.11.0, stringstream@0.0
.5, aws4@1.4.1, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, tough-cookie@2.3.1, qs@6.2.1, node-uuid@1.4.7, combined-stream@1.0.5, mime-ty
pes@2.1.11, bl@1.1.2, hawk@3.1.3, http-signature@1.1.1, har-validator@2.0.6)
βββ yargs@4.8.1 (get-caller-file@1.0.2, decamelize@1.2.0, lodash.assign@4.2.0, y18n@3.2.1, which-module@1.0.0, set-blocking@2.0.0, require-main-filena
me@1.0.1, require-directory@2.1.1, window-size@0.2.0, yargs-parser@2.4.1, os-locale@1.4.0, cliui@3.2.0, string-width@1.0.2, read-pkg-up@1.0.1)
βββ es6-promisify-all@0.1.0 (es6-promisify@2.0.0)
βββ handlebars@4.0.5 (async@1.5.2, source-map@0.4.4, optimist@0.6.1, uglify-js@2.7.3)
βββ moment@2.14.1
βββ particle-api-js@6.0.3 (superagent-prefix@0.0.2, stream-http@2.2.1, superagent@2.2.0)
βββ lodash@3.10.1
βββ softap-setup@1.1.4 (nconf@0.7.2, node-rsa@0.2.30)
βββ yeoman-environment@1.6.3 (escape-string-regexp@1.0.5, log-symbols@1.0.2, text-table@0.2.0, untildify@2.1.0, debug@2.2.0, diff@2.2.3, globby@4.1.0,
mem-fs@1.1.3, grouped-queue@0.3.2, inquirer@1.1.2, lodash@4.15.0)
βββ particle-cli-library-manager@0.0.4-develop.2 (superagent-prefix@0.0.2, babel-plugin-transform-runtime@6.12.0, app-root-path@1.3.0, properties-pars
er@0.3.1, verror@1.8.1, es6-promisify@4.1.0, mkdirp@0.5.1, tar-stream@1.5.2, superagent@1.8.4, gunzip-maybe@1.3.1, fs-extra@0.30.0, particle-api-js@5.
3.0-develop.1, tar.gz@1.0.5, yeoman-generator@0.24.1, async@2.0.1)
βββ babel-runtime@6.11.6 (regenerator-runtime@0.9.5, core-js@2.4.1)
βββ serialport@3.1.2 (bindings@1.2.1, commander@2.9.0, debug@2.2.0, es6-promise@3.2.1, nan@2.4.0, object.assign@4.0.4)