Particle-cli - Win7 x64 - Upgrade crashed and took the application with it

Another day, more fun. Really weird stuff has been happening lately, brought an older Electron device up, it was showing up as “null” in the system so I did a few things in the CLI and gave it a name and it seemed to come up. Then I couldn’t flash it OTA, it seemed to insta-fail. So I flashed it via USB and particle-cli and that worked, but now I plug in a different Electron and it is now coming up as the other device. Strange, I thought, again it wasn’t flashing OTA so I tried the CLI and it seemed to be having issues logging into the cloud so I figured I would finally update it. Not a great idea because that has now tanked the install somehow.

In other words, all kinds of fun on a day where I don’t have a lot of time as usual and just wanted to get another device up to read some simple sensors and it all seems to fall apart. See below for full log of install and subsequently tanked particle-cli install.

C:\Users\joe>npm install -g particle-cli
npm WARN engine particle-cli@1.23.1: wanted: {"node":">=0.10.40"} (current: {"no
de":"0.10.31","npm":"1.4.23"})
npm WARN engine particle-commands@0.2.11: wanted: {"node":">=0.10.40"} (current:
 {"node":"0.10.31","npm":"1.4.23"})
npm WARN engine particle-library-manager@0.1.12: wanted: {"node":">=0.10.33"} (c
urrent: {"node":"0.10.31","npm":"1.4.23"})
npm WARN engine softap-setup@4.1.0: wanted: {"node":">=4"} (current: {"node":"0.
10.31","npm":"1.4.23"})
npm WARN engine istextorbinary@2.1.0: wanted: {"node":">=0.12"} (current: {"node
":"0.10.31","npm":"1.4.23"})
npm WARN engine dargs@5.1.0: wanted: {"node":">=4"} (current: {"node":"0.10.31",
"npm":"1.4.23"})
npm WARN engine find-up@2.1.0: wanted: {"node":">=4"} (current: {"node":"0.10.31
","npm":"1.4.23"})
npm WARN engine path-exists@3.0.0: wanted: {"node":">=4"} (current: {"node":"0.1
0.31","npm":"1.4.23"})
npm WARN engine github-username@3.0.0: wanted: {"node":">=4"} (current: {"node":
"0.10.31","npm":"1.4.23"})
npm WARN engine pretty-bytes@4.0.2: wanted: {"node":">=4"} (current: {"node":"0.
10.31","npm":"1.4.23"})
npm WARN engine read-pkg-up@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.1
0.31","npm":"1.4.23"})
npm WARN engine run-async@2.3.0: wanted: {"node":">=0.12.0"} (current: {"node":"
0.10.31","npm":"1.4.23"})
npm WARN engine read-chunk@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.10
.31","npm":"1.4.23"})
npm WARN engine shelljs@0.7.8: wanted: {"node":">=0.11.0","iojs":"*"} (current:
{"node":"0.10.31","npm":"1.4.23"})
npm WARN engine ansi-escapes@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.
10.31","npm":"1.4.23"})
npm WARN engine external-editor@2.0.4: wanted: {"node":">=0.12"} (current: {"nod
e":"0.10.31","npm":"1.4.23"})
npm WARN engine figures@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.31
","npm":"1.4.23"})
npm WARN engine cli-cursor@2.1.0: wanted: {"node":">=4"} (current: {"node":"0.10
.31","npm":"1.4.23"})
npm WARN engine run-async@2.3.0: wanted: {"node":">=0.12.0"} (current: {"node":"
0.10.31","npm":"1.4.23"})
npm WARN engine string-width@2.1.0: wanted: {"node":">=4"} (current: {"node":"0.
10.31","npm":"1.4.23"})
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN engine run-async@2.3.0: wanted: {"node":">=0.12.0"} (current: {"node":"
0.10.31","npm":"1.4.23"})
npm WARN engine gh-got@5.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.31"
,"npm":"1.4.23"})
npm WARN engine locate-path@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.1
0.31","npm":"1.4.23"})
npm WARN engine read-pkg@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.3
1","npm":"1.4.23"})
npm WARN engine restore-cursor@2.0.0: wanted: {"node":">=4"} (current: {"node":"
0.10.31","npm":"1.4.23"})
npm WARN engine strip-ansi@4.0.0: wanted: {"node":">=4"} (current: {"node":"0.10
.31","npm":"1.4.23"})
npm WARN engine is-fullwidth-code-point@2.0.0: wanted: {"node":">=4"} (current:
{"node":"0.10.31","npm":"1.4.23"})
npm WARN engine got@6.7.1: wanted: {"node":">=4"} (current: {"node":"0.10.31","n
pm":"1.4.23"})
npm WARN engine deep-extend@0.4.2: wanted: {"node":">=0.12.0","iojs":">=1.0.0"}
(current: {"node":"0.10.31","npm":"1.4.23"})
npm WARN engine load-json-file@2.0.0: wanted: {"node":">=4"} (current: {"node":"
0.10.31","npm":"1.4.23"})
npm WARN engine path-type@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.
31","npm":"1.4.23"})
npm WARN engine p-locate@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.3
1","npm":"1.4.23"})
npm WARN engine deep-extend@0.4.2: wanted: {"node":">=0.12.0","iojs":">=1.0.0"}
(current: {"node":"0.10.31","npm":"1.4.23"})
npm WARN engine ansi-regex@3.0.0: wanted: {"node":">=4"} (current: {"node":"0.10
.31","npm":"1.4.23"})
npm WARN engine hawk@3.1.3: wanted: {"node":">=0.10.32"} (current: {"node":"0.10
.31","npm":"1.4.23"})
npm WARN engine onetime@2.0.1: wanted: {"node":">=4"} (current: {"node":"0.10.31
","npm":"1.4.23"})
npm WARN engine strip-bom@3.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.
31","npm":"1.4.23"})
npm WARN engine deep-extend@0.4.2: wanted: {"node":">=0.12.0","iojs":">=1.0.0"}
(current: {"node":"0.10.31","npm":"1.4.23"})
npm WARN engine p-limit@1.1.0: wanted: {"node":">=4"} (current: {"node":"0.10.31
","npm":"1.4.23"})
npm WARN engine unzip-response@2.0.1: wanted: {"node":">=4"} (current: {"node":"
0.10.31","npm":"1.4.23"})
npm WARN engine get-stream@3.0.0: wanted: {"node":">=4"} (current: {"node":"0.10
.31","npm":"1.4.23"})
npm WARN engine mimic-fn@1.1.0: wanted: {"node":">=4"} (current: {"node":"0.10.3
1","npm":"1.4.23"})
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.1
0.31","npm":"1.4.23"})
npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.1
0.31","npm":"1.4.23"})
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":
"0.10.31","npm":"1.4.23"})
npm WARN excluding symbolic link test\server\static\ie8-polyfill.js -> ../../../
ie8-polyfill.js
npm WARN excluding symbolic link test\server\static\ie8-polyfill.js -> ../../../
ie8-polyfill.js
npm WARN engine superagent@3.5.2: wanted: {"node":">= 0.12"} (current: {"node":"
0.10.31","npm":"1.4.23"})
npm WARN engine app-root-path@2.0.1: wanted: {"node":">= 4.0.0"} (current: {"nod
e":"0.10.31","npm":"1.4.23"})
npm WARN engine form-data@2.2.0: wanted: {"node":">= 0.12"} (current: {"node":"0
.10.31","npm":"1.4.23"})
|
> thread-sleep@1.0.4 install C:\Users\joe\AppData\Roaming\npm\node_modules\parti
cle-cli\node_modules\yeoman-environment\node_modules\inquirer\node_modules\exter
nal-editor\node_modules\spawn-sync\node_modules\try-thread-sleep\node_modules\th
read-sleep
> node-pre-gyp install --fallback-to-build

[thread-sleep] Success: "C:\Users\joe\AppData\Roaming\npm\node_modules\particle-
cli\node_modules\yeoman-environment\node_modules\inquirer\node_modules\external-
editor\node_modules\spawn-sync\node_modules\try-thread-sleep\node_modules\thread
-sleep\lib\binding\Release\node-v11-win32-x64\thread_sleep.node" is installed vi
a remote

> serialport@4.0.7 install C:\Users\joe\AppData\Roaming\npm\node_modules\particl
e-cli\node_modules\serialport
> node-pre-gyp install --fallback-to-build

[serialport] Success: "C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cl
i\node_modules\serialport\build\Release\serialport.node" is installed via remote


> spawn-sync@1.0.15 postinstall C:\Users\joe\AppData\Roaming\npm\node_modules\pa
rticle-cli\node_modules\yeoman-environment\node_modules\inquirer\node_modules\ex
ternal-editor\node_modules\spawn-sync
> node postinstall

C:\Users\joe\AppData\Roaming\npm\particle -> C:\Users\joe\AppData\Roaming\npm\no
de_modules\particle-cli\bin\particle.js
particle-cli@1.23.1 C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
├── xtend@4.0.1
├── semver@5.3.0
├── cli-spinner@0.2.6
├── temp@0.8.3 (os-tmpdir@1.0.2, rimraf@2.2.8)
├── cli-table@0.3.1 (colors@1.0.3)
├── es6-promisify@4.1.0 (es6-promise@3.3.1)
├── 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)
├── node-wifiscanner2@1.2.0 (os-locale@1.4.0)
├── glob@5.0.15 (path-is-absolute@1.0.1, inherits@2.0.3, inflight@1.0.6, once@1.
4.0, minimatch@3.0.4)
├── form-data@1.0.0-relativepath.2 (async@1.5.2, combined-stream@1.0.5, mime-typ
es@2.1.15)
├── latest-version@2.0.0 (package-json@2.4.0)
├── softap-setup@4.1.0 (node-rsa@0.4.2)
├── hogan.js@2.0.0
├── yargs@5.0.0 (get-caller-file@1.0.2, decamelize@1.2.0, which-module@1.0.0, se
t-blocking@2.0.0, y18n@3.2.1, window-size@0.2.0, require-main-filename@1.0.1, lo
dash.assign@4.2.0, require-directory@2.1.1, yargs-parser@3.2.0, os-locale@1.4.0,
 string-width@1.0.2, cliui@3.2.0, read-pkg-up@1.0.1)
├── request@2.75.1-relativepath.1 (is-typedarray@1.0.0, aws-sign2@0.6.0, oauth-s
ign@0.8.2, forever-agent@0.6.1, tunnel-agent@0.4.3, caseless@0.11.0, stringstrea
m@0.0.5, isstream@0.1.2, json-stringify-safe@5.0.1, aws4@1.6.0, combined-stream@
1.0.5, extend@3.0.1, node-uuid@1.4.8, qs@6.2.3, mime-types@2.1.15, bl@1.1.2, tou
gh-cookie@2.3.2, hawk@3.1.3, har-validator@2.0.6, http-signature@1.1.1)
├── when@3.7.8
├── particle-commands@0.2.11 (winreg@1.2.4, underscore@1.8.3, mkdirp@0.5.1)
├── binary-version-reader@0.4.0 (buffer-crc32@0.2.13, h5.buffers@0.1.1)
├── lodash@3.10.1
├── moment@2.18.1
├── particle-api-js@6.5.0 (superagent-prefix@0.0.2, stream-http@2.2.1, superagen
t@2.3.0, form-data@1.0.0-rc4)
├── handlebars@4.0.10 (async@1.5.2, source-map@0.4.4, optimist@0.6.1, uglify-js@
2.8.29)
├── babel-polyfill@6.23.0 (regenerator-runtime@0.10.5, core-js@2.4.1)
├── inquirer@3.1.1 (ansi-escapes@2.0.0, through@2.3.8, strip-ansi@3.0.1, figures
@2.0.0, cli-width@2.1.0, rx-lite-aggregates@4.0.8, run-async@2.3.0, string-width
@2.1.0, mute-stream@0.0.7, cli-cursor@2.1.0, rx-lite@4.0.8, external-editor@2.0.
4, lodash@4.17.4)
├── babel-runtime@6.23.0 (regenerator-runtime@0.10.5, core-js@2.4.1)
├── yeoman-generator@1.1.1 (detect-conflict@1.0.1, path-is-absolute@1.0.1, prett
y-bytes@4.0.2, path-exists@3.0.0, dargs@5.1.0, dateformat@2.0.0, rimraf@2.6.1, c
lass-extend@0.1.2, text-table@0.2.0, user-home@2.0.0, read-chunk@2.0.0, minimist
@1.2.0, run-async@2.3.0, debug@2.6.8, error@7.0.2, mkdirp@0.5.1, find-up@2.1.0,
cross-spawn@5.1.0, github-username@3.0.0, glob@7.1.2, mem-fs-editor@3.0.2, throu
gh2@2.0.3, read-pkg-up@2.0.0, async@2.5.0, istextorbinary@2.1.0, shelljs@0.7.8,
lodash@4.17.4)
├── particle-library-manager@0.1.12 (babel-plugin-array-includes@2.0.3, superage
nt-prefix@0.0.2, babel-plugin-transform-runtime@6.23.0, app-root-path@2.0.1, pro
perties-parser@0.3.1, tmp@0.0.31, verror@1.10.0, klaw@1.3.1, mkdirp@0.5.1, minim
atch@3.0.4, tar-stream@1.5.4, tar-fs@1.15.3, fs-extra@2.1.2, es6-promisify@5.0.0
, gunzip-maybe@1.4.1, superagent@3.5.2, async@2.5.0)
├── serialport@4.0.7 (bindings@1.2.1, commander@2.11.0, debug@2.6.8, nan@2.6.2,
lie@3.1.1, object.assign@4.0.4)
└── yeoman-environment@1.6.6 (log-symbols@1.0.2, grouped-queue@0.3.3, escape-str
ing-regexp@1.0.5, text-table@0.2.0, untildify@2.1.0, debug@2.6.8, diff@2.2.3, gl
obby@4.1.0, mem-fs@1.1.3, lodash@4.17.4, inquirer@1.2.3)

C:\Users\joe>particle list

C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli\node_modules\inquirer
\node_modules\figures\index.js:2
const escapeStringRegexp = require('escape-string-regexp');
^^^^^
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\AccessTokenCommands.js SyntaxError: Use of const in strict mode.
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\CloudCommands.js SyntaxError: Use of const in strict mode.
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\FlashCommand.js SyntaxError: Use of const in strict mode.
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\FunctionCommand.js SyntaxError: Unexpected token (
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\KeyCommands.js SyntaxError: Unexpected token (
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\PublishCommand.js SyntaxError: Unexpected token (
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\SerialCommand.js SyntaxError: Unexpected token (
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\SetupCommand SyntaxError: Unexpected token >
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\SubscribeCommand.js SyntaxError: Unexpected token (
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\UpdateCommand.js SyntaxError: Use of const in strict mode.
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\VariableCommand.js SyntaxError: Unexpected token (
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\WebhookCommands.js SyntaxError: Use of const in strict mode.
Error loading command C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
\commands\WirelessCommand SyntaxError: Unexpected token (
particle: Unknown command: "list"

C:\Users\joe>

Updated NodeJS to v4.0 which stopped most of the errors on the install, now the install shows this:

C:\Users\joe>npm install -g particle-cli
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
|
> spawn-sync@1.0.15 postinstall C:\Users\joe\AppData\Roaming\npm\node_modules\pa
rticle-cli\node_modules\yeoman-environment\node_modules\inquirer\node_modules\ex
ternal-editor\node_modules\spawn-sync
> node postinstall

npm WARN excluding symbolic link test\server\static\ie8-polyfill.js -> ../../../
ie8-polyfill.js
npm WARN excluding symbolic link test\server\static\ie8-polyfill.js -> ../../../
ie8-polyfill.js
-
> serialport@4.0.7 install C:\Users\joe\AppData\Roaming\npm\node_modules\particl
e-cli\node_modules\serialport
> node-pre-gyp install --fallback-to-build

[serialport] Success: "C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cl
i\node_modules\serialport\build\Release\serialport.node" is installed via remote

C:\Users\joe\AppData\Roaming\npm\particle -> C:\Users\joe\AppData\Roaming\npm\no
de_modules\particle-cli\bin\particle.js
particle-cli@1.23.1 C:\Users\joe\AppData\Roaming\npm\node_modules\particle-cli
├── xtend@4.0.1
├── semver@5.3.0
├── cli-spinner@0.2.6
├── chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2
.2.1, strip-ansi@3.0.1, has-ansi@2.0.0)
├── temp@0.8.3 (os-tmpdir@1.0.2, rimraf@2.2.8)
├── cli-table@0.3.1 (colors@1.0.3)
├── es6-promisify@4.1.0 (es6-promise@3.3.1)
├── node-wifiscanner2@1.2.0 (os-locale@1.4.0)
├── glob@5.0.15 (path-is-absolute@1.0.1, inherits@2.0.3, inflight@1.0.6, once@1.
4.0, minimatch@3.0.4)
├── form-data@1.0.0-relativepath.2 (combined-stream@1.0.5, async@1.5.2, mime-typ
es@2.1.15)
├── latest-version@2.0.0 (package-json@2.4.0)
├── yargs@5.0.0 (get-caller-file@1.0.2, decamelize@1.2.0, which-module@1.0.0, se
t-blocking@2.0.0, y18n@3.2.1, require-main-filename@1.0.1, window-size@0.2.0, lo
dash.assign@4.2.0, require-directory@2.1.1, yargs-parser@3.2.0, os-locale@1.4.0,
 string-width@1.0.2, cliui@3.2.0, read-pkg-up@1.0.1)
├── request@2.75.1-relativepath.1 (is-typedarray@1.0.0, aws-sign2@0.6.0, oauth-s
ign@0.8.2, forever-agent@0.6.1, tunnel-agent@0.4.3, stringstream@0.0.5, caseless
@0.11.0, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.1, aws4@1.6.0, co
mbined-stream@1.0.5, node-uuid@1.4.8, qs@6.2.3, mime-types@2.1.15, tough-cookie@
2.3.2, bl@1.1.2, har-validator@2.0.6, hawk@3.1.3, http-signature@1.1.1)
├── hogan.js@2.0.0
├── particle-commands@0.2.11 (winreg@1.2.4, underscore@1.8.3, mkdirp@0.5.1)
├── when@3.7.8
├── binary-version-reader@0.4.0 (buffer-crc32@0.2.13, h5.buffers@0.1.1)
├── softap-setup@4.1.0 (node-rsa@0.4.2)
├── lodash@3.10.1
├── moment@2.18.1
├── particle-api-js@6.5.0 (superagent-prefix@0.0.2, stream-http@2.2.1, form-data
@1.0.0-rc4, superagent@2.3.0)
├── handlebars@4.0.10 (async@1.5.2, source-map@0.4.4, optimist@0.6.1, uglify-js@
2.8.29)
├── inquirer@3.1.1 (ansi-escapes@2.0.0, through@2.3.8, strip-ansi@3.0.1, figures
@2.0.0, run-async@2.3.0, cli-width@2.1.0, rx-lite-aggregates@4.0.8, mute-stream@
0.0.7, string-width@2.1.0, cli-cursor@2.1.0, rx-lite@4.0.8, external-editor@2.0.
4, lodash@4.17.4)
├── yeoman-generator@1.1.1 (detect-conflict@1.0.1, path-exists@3.0.0, pretty-byt
es@4.0.2, path-is-absolute@1.0.1, dargs@5.1.0, dateformat@2.0.0, rimraf@2.6.1, t
ext-table@0.2.0, class-extend@0.1.2, user-home@2.0.0, read-chunk@2.0.0, run-asyn
c@2.3.0, minimist@1.2.0, error@7.0.2, debug@2.6.8, mkdirp@0.5.1, find-up@2.1.0,
cross-spawn@5.1.0, glob@7.1.2, github-username@3.0.0, through2@2.0.3, read-pkg-u
p@2.0.0, mem-fs-editor@3.0.2, async@2.5.0, istextorbinary@2.1.0, shelljs@0.7.8,
lodash@4.17.4)
├── yeoman-environment@1.6.6 (escape-string-regexp@1.0.5, log-symbols@1.0.2, gro
uped-queue@0.3.3, text-table@0.2.0, untildify@2.1.0, debug@2.6.8, globby@4.1.0,
diff@2.2.3, mem-fs@1.1.3, lodash@4.17.4, inquirer@1.2.3)
├── babel-polyfill@6.23.0 (regenerator-runtime@0.10.5, core-js@2.4.1)
├── babel-runtime@6.23.0 (regenerator-runtime@0.10.5, core-js@2.4.1)
├── particle-library-manager@0.1.12 (superagent-prefix@0.0.2, babel-plugin-array
-includes@2.0.3, babel-plugin-transform-runtime@6.23.0, app-root-path@2.0.1, pro
perties-parser@0.3.1, mkdirp@0.5.1, tmp@0.0.31, verror@1.10.0, klaw@1.3.1, minim
atch@3.0.4, tar-fs@1.15.3, fs-extra@2.1.2, tar-stream@1.5.4, es6-promisify@5.0.0
, superagent@3.5.2, gunzip-maybe@1.4.1, async@2.5.0)
└── serialport@4.0.7 (bindings@1.2.1, commander@2.11.0, debug@2.6.8, nan@2.6.2,
lie@3.1.1, object.assign@4.0.4)

…and while it looks like the application is in a better state, this happens when I try and run: particle login

C:\Users\joe>particle login
? Please enter your email address joeboswell@gmail.com
? Please enter your password [hidden]
> Successfully completed login!
There was an error writing [object Object]:  { [Error: ENOENT: no such file or d
irectory, open 'C:\Users\joe\.particle\?.config.json']
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\Users\\joe\\.particle\\?.config.json' }
There was an error writing [object Object]:  { [Error: ENOENT: no such file or d
irectory, open 'C:\Users\joe\.particle\?.config.json']
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\Users\\joe\\.particle\\?.config.json' }

Upgraded to Node 8, ran particle stuff again. No bueno. Uninstalled particle-cli via: npm uninstall -g particle-cli and then downloaded the windows installer and installed from there, now getting the same error as above.

Sooo frustrating. Heading out now, no more time to work on this, will jump back into it tonight.

@jboswell, I suggest using the Particle CLI windows installer.

Try to make sure you first install uninstall all instances of the CLI before installing another one. It sometimes happens there are two separate installs, which complicates things more than need be.

1 Like

I am sure you meant uninstall. :wink:

2 Likes