I’m trying to use the boron Cloud debug utility by @rickkas7 : https://github.com/rickkas7/boron-clouddebug to capture log files to figure out why 2 of my Borons are unable to connect to the cloud. I’m able to load the firmware appropriately but unable to call Particle Serial Monitor. Here is the CLI:
C:\particle\boron-clouddebug-master>particle update-cli
Updating CLI... no plugins to update.
C:\particle\boron-clouddebug-master>particle serial monitor
! The `serialport` dependency is missing or invalid.
! Please reinstall: https://docs.particle.io/tutorials/developer-tools/cli/#installing
Cannot find module '@serialport/stream'
C:\particle\boron-clouddebug-master>particle serial list
! The `serialport` dependency is missing or invalid.
! Please reinstall: https://docs.particle.io/tutorials/developer-tools/cli/#installing
Cannot find module '@serialport/stream'
C:\particle\boron-clouddebug-master>particle usb list
<no name> [e00fce6xxxxxxxxxxxaxxxxxxx] (Boron)
C:\particle\boron-clouddebug-master>
As you can see I already tried the “particle update-cli” but indicated there is nothing to update. Given this, how can I get Serial monitor to function? Are there alternatives or something in particular I should look at?
Just a quick update… I was able to get PuTTY to work as a serial monitor. Although it works, it would be nice to do this all in VS Code from the command line. My immediate need is met though using PuTTY. Now on to the log files to figure out what’s wrong. Will likely be opening a ticket and sending the log files to Particle for them to inspect. One device has been working for 6+ months whereas the other one only worked for 20-30 minutes.
@jgskarda this is unfortunately a known-issue - i'm hoping to get it fixed up ASAP but in the meantime, your best bet is a manual reset - see instructions here:
Alright, thanks for the update. Seems like most things with the CLI function just not serial functions. I think I’ll keep using PuTTy for serial commands/monitoring and wait until the permanent fix is out. If you could, I’d appreciate a post here letting me know when a fix is ready.
Are there any new updates on this bug? I have run into the same thing and have reinstalled the CLI 4 times, updated npm twice and keep seeing the following error:
! The serialport dependency is missing or invalid.
! Please reinstall: https://docs.particle.io/tutorials/developer-tools/cli/#installing
The module '/home/andy/.npm-global/lib/node_modules/particle-cli/node_modules/@serialport/bindings/build/Release/bindings.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 79. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
What error are you getting? Did you install the Particle CLI using the Windows CLI installer? That is the recommended method. I just tested the particle serial monitor on a Windows 11 computer and it worked, so there’s probably some sort of dependency issue.