CLI updated automatically now cannot find 'semver' I'm in Windows 10 using workbench- cannot figure out how to run the 'sudo npm...' commands that fixed for others. No plans to run in linux


2020/11/16 04:27:53 Updating CLI…

2020/11/16 04:28:06 no plugins to update.

2020/11/16 04:28:06 Time since last update 13.2589363s, update in background

2020/11/16 04:28:25 Time since last update 31.5669023s, update in block

2020/11/16 04:28:29 Time since last update 35.6709238s, update in background

2020/11/16 04:52:30 Time since last update 24m36.8248024s, update in block

2020/11/16 04:52:31 Time since last update 24m37.429847s, update in background

2020/11/16 04:52:50 Time since last update 24m56.3686433s, update in block

2020/11/16 04:52:51 Time since last update 24m57.7826613s, update in background

2020/11/16 05:02:21 Time since last update 34m27.9218389s, update in block

2020/11/16 05:02:23 Time since last update 34m29.508885s, update in background

2020/11/16 15:27:20 Time since last update 10h59m26.4681055s, update in block

2020/11/16 15:27:28 Time since last update 10h59m34.6205848s, update in background

2020/11/16 15:27:28 Time since last update 10h59m34.6385698s, update in block

2020/11/16 15:27:28 Time since last update 10h59m34.6395712s, update in background

2020/11/16 15:27:28 Manifest version 1.1.0-12d6799, Installed version 1.1.0-12d6799

2020/11/16 15:27:28 Updating CLI…

2020/11/16 15:32:23 Time since last update 4m55.4514379s, update in block

2020/11/16 20:32:23 internal/modules/cjs/loader.js:985

throw err;


Error: Cannot find module ‘semver’

Require stack:

  • C:\Users\Dave\AppData\Local\particle\node_modules\particle-cli\dist\lib\has-supported-node.js

  • C:\Users\Dave\AppData\Local\particle\node_modules\particle-cli\dist\index.js

  • C:\Users\Dave\AppData\Local\particle[eval]

    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)

    at Function.Module._load (internal/modules/cjs/loader.js:864:27)

    at Module.require (internal/modules/cjs/loader.js:1044:19)

    at require (internal/modules/cjs/helpers.js:77:18)

    at Object. (C:\Users\Dave\AppData\Local\particle\node_modules\particle-cli\dist\lib\has-supported-node.js:5:16)

    at Module._compile (internal/modules/cjs/loader.js:1158:30)

    at Object.Module._extensions…js (internal/modules/cjs/loader.js:1178:10)

    at Module.load (internal/modules/cjs/loader.js:1002:32)

    at Function.Module._load (internal/modules/cjs/loader.js:901:14)

    at Module.require (internal/modules/cjs/loader.js:1044:19)

2020/11/16 15:32:23 Time since last update 4m55.5654388s, update in background

2020/11/16 15:34:08 Time since last update 6m39.8673398s, update in block

UPDATE: I totally uninstalled Particle CLI and reinstalled it with fresh download of ParticleWorkbenchInstaller.exe and it works now… Just reinstalling over existing did not do it.

1 Like

glad you got things working again. sorry for the bumps. in case it’s helpful, just wanted to point out we have manual reset instructions over here:

1 Like