Hi all - I believe I have the latest version of particle-cli install as I just used
npm install -g particle-cli, but when I try to run
particle list (or
_particle _anything_ for that matter), I get:
jeremykoerber@Jeremys-MacBook-Air ~ $ particle -v
! Error loading module ‘serialport’: The module '/usr/local/lib/node_modules/particle-cli/node_modules/serialport/build/Release/serialport.node’
was compiled against a different Node.js version using
NODE_MODULE_VERSION 14. This version of Node.js requires
NODE_MODULE_VERSION 51. Please try re-compiling or re-installing
the module (for instance, using
Please reinstall the CLI again using npm install -g particle-cli
I’ve tried all 3 of those suggestions at the bottom of the error, but to no avail. I searched around a while, and wasn’t able to find anything similar. Can anyone help me out with this?
P.S. I’m new here.