I decided to go back to the ili9341 library that actually managed to compile and get something on the screen. Since my PC is no longer able to log in, I’m using this macbook, I was able to compile, flash, and see the display. Twice. Not again. Get repeatedly “flash unsuccessful.” The particle electron continues to breathe cyan.
So I installed the cli, hoping to flash by USB.
I managed to do particle login, but other than that, I constantly get messages on the mac terminal:
Error loading command /usr/local/lib/node_modules/particle-cli/commands/SerialCommand.js Error: 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 48. This version of Node.js requires
NODE_MODULE_VERSION 59. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
npm rebuild seems to have worked, but didn’t solve the problem…
npm install gives me a bunch of errors:
MacBook:~ tentoes$ npm install
npm WARN saveError ENOENT: no such file or directory, open '/Users/tentoes/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/tentoes/package.json'
npm WARN tentoes No description
npm WARN tentoes No repository field.
npm WARN tentoes No README data
npm WARN tentoes No license field.
up to date in 0.504s