Hi, this is my first post on the community. Few weeks ago, I had the alarm:
! Error loading module ‘serialport’: Cannot find module 'object.assign’
Please reinstall the CLI again using npm install -g particle-cli
I had to desinstall node and particle Cli. Then, I resinstall the particle CLI from the windows installer on the web site. It solved the problem
Today, for another projet, I realise that node wasn’t installed (node -v return nothing). I downloaded the last version of node and now I got the same error message by only typing particle in command prompt.
I have tried a bunch of thing of different forum. Tried to install serialport using npm install serialport and different combination. I got this warning (npm WARN saveError ENOENT: no such file or directory, open ‘C:\Users\franc\package.json’). I am not sure if it’s ok or not…
I am stuck and I don’t know what to do… I am using windows if this could help. I am working with particle since a year but I have fairly new in all this stuff.
thanks for your help!