I have been using CLI on Windows 10 - have successfully flashed several devices and now all of a sudden get the following message. What is the cause and how should I recover?
Flash success!
C:\Users\wjsteen>particle flash --usb firmware.bin
! Error in particle-cli:
! Cannot find module 'is-plain-obj'
! See C:\Users\wjsteen\AppData\Local\particle\error.log for more info.
C:\Users\wjsteen>
error.log
2016/12/02 14:41:38 particle: Installing plugins...
2016/12/02 14:42:20 particle: Installing plugins...
2016/12/02 14:42:20 not supported by windows
2016/12/02 14:42:26 done
2016/12/08 16:28:05 Updating Particle CLI to 0.2.0-384995c (master)...
2017/01/11 09:20:01 Updating CLI...
2017/01/11 09:20:27 no plugins to update.
2017/01/23 13:42:24 ▸ Error updating CLI
2017/01/23 13:42:24 ! Get https://binaries.particle.io/cli/master/manifest.json: dial tcp 54.239.168.148:443: i/o timeout
2017/01/23 13:42:24 Updating CLI...
2017/01/23 13:42:42 no plugins to update.
2017/02/17 11:23:57 Updating CLI...
2017/02/17 11:24:58 not supported by windows
2017/02/17 11:26:19
2017/02/17 11:26:19 ! Error installing package.
! npm WARN excluding symbolic link test\server\static\ie8-polyfill.js -> ../../../ie8-polyfill.js
! npm WARN deprecated node-uuid@1.4.7: use uuid module instead
! npm WARN excluding symbolic link test\server\static\ie8-polyfill.js -> ../../../ie8-polyfill.js
! npm ERR! Windows_NT 10.0.14393
! npm ERR! argv "C:\\Users\\wjsteen\\AppData\\Local\\particle\\node-v5.4.1-windows-x64\\bin\\node.exe" "C:\\Users\\wjsteen\\AppData\\Local\\particle\\node-v5.4.1-windows-x64\\lib\\node_modules\\npm\\cli.js" "install" "particle-cli@1.19.4"
! npm ERR! node v5.4.1
! npm ERR! npm v3.3.10
!
! npm ERR! Maximum call stack size exceeded
! npm ERR!
! npm ERR! If you need help, you may report this error at:
! npm ERR! <https://github.com/npm/npm/issues>
!
! npm ERR! Please include the following file with any support request:
! npm ERR! C:\Users\wjsteen\AppData\Local\particle\npm-debug.log
!
! Try running again with GODE_DEBUG=info to see more output.
2017/02/17 11:26:20 remove C:\Users\wjsteen\AppData\Local\particle\updating.lock.particle-cli: The system cannot find the file specified.
2017/02/17 11:26:20 done. Updated 1 package.
2017/02/17 12:15:30 Error: Cannot find module 'is-plain-obj'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\wjsteen\AppData\Local\particle\node_modules\got\index.js:21:18)
at Module._compile (module.js:397:26)
at Object.Module._extensions..js (module.js:404:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
2017/02/17 12:15:55 Error: Cannot find module 'is-plain-obj'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\wjsteen\AppData\Local\particle\node_modules\got\index.js:21:18)
at Module._compile (module.js:397:26)
at Object.Module._extensions..js (module.js:404:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
2017/02/17 12:16:07 Error: Cannot find module 'is-plain-obj'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\wjsteen\AppData\Local\particle\node_modules\got\index.js:21:18)
at Module._compile (module.js:397:26)
at Object.Module._extensions..js (module.js:404:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)