I’ve been using a particle Argon for a few days now, primarily via the web interface. Blinked the LED, got some notifications from the Argon to the cloud working. Then I setup some i2c hardware and decided I might have to debug at some point so I connected the particle/Argon debug interface and decided to install the workbench in VS Code. It all seemed to go ok, and I get the particle welcome screen, command pallete. But if I try to run any commands I always get:
bash-3.2$ particle --help
particle: Adding dependencies…
▸ Get “https://binaries.particle.io/node/v12.16.1/node-v12.16.1-darwin-x64.tar.gz”: dial tcp: i/o timeout
▸ Error rebuilding packages.
▸
▸ Try running again with GODE_DEBUG=info to see more output.
done
particle: Installing plugins…
▸
▸ fork/exec bin/node: no such file or directory
particle: Installing plugins (retrying)…
▸ Error installing package.
▸
▸ Try running again with GODE_DEBUG=info to see more output.
Any and every particle command ends this way. I tried to figure out what “GODE_DEBUG=info” is, but couldn’t find any info on the web. I did find "GODEBUG=schedtrace=1 commands described so I tried that. “env GODEBUG=schedtrace=1 particle”. and that seemed to return ‘GO’ language scheduler messages. I get the same messages when I try to install the CMD line tools any time I run particle.
I tried installing the automatic way, downloading with Safari (even though my version shouldn’t require it apparently) and installed into the usr/local/bin directories as root with the recommended ‘unsafe’ incantations listed in the documentation. I installed node and npm manually and both seem fine.
Also, note that the error message lists a different version (12.16.1) of node than I have installed, even though I installed the recommended LTS version (12.16.2). While the error message says the connection timed out, when I get that file from a browser, it comes in just fine.
The file ~/.particle/error.log just contains the above error repeated.
Nothing much in the audit log
Any suggestions to getting this installed, or how specifically to ‘run again with GODE_DEBUG=info’.
MacOS Mojave 10.14.6 64bit Intel
particle version - won’t run, but downloaded April 27 2020mba:~ robm$ ls -al ~/.particle
total 264
drwxr-xr-x 6 robm staff 192 28 Apr 21:20 .
drwxr-xr-x+ 133 robm staff 4256 28 Apr 01:43 …
-rw-r–r-- 1 robm staff 53 27 Feb 22:32 autoupdate
-rw-r–r-- 1 robm staff 69361 28 Apr 21:20 error.log
drwxr-xr-x 2 robm staff 64 27 Feb 22:32 node_modules
drwxr-xr-x 7 robm staff 224 27 Feb 22:32 toolchains
mba:~ robm$ node -v
v12.16.2
mba:~ robm$ npm -v
6.14.4
mba:~ robm$ which node
/usr/local/bin/node
mba:~ robm$ which npm
/usr/local/bin/npm
I have tried both automatic and manual installation.