I’m probably making a newbee mistake… Running Windows 7 Professional and I’d like to be able to flash code to my electron from the command line (so I don’t burn up cellular bandwidth). Earlier had problems with the drivers; that’s squared away now. At the command prompt when I type “particle” I get three lines of error:
! Error in particle-cli:
! Cannot find module ‘particle-cli’
! See c:\users…\particle\error.log for more info.
Please advise on possible solutions. At the end of the log file I find:
2017/10/05 21:09:00 Error: Cannot find module 'particle-cli’
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 [eval]:31:2
at Object.exports.runInThisContext (vm.js:54:17)
at Object. ([eval]-wrapper:6:22)
at Module._compile (module.js:397:26)
at node.js:611:27
at nextTickCallbackWith0Args (node.js:452:9)
2017/10/05 21:15:56 Error: Cannot find module 'particle-cli’
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:1