Workbench and Particle CLI failing to login

Got a new Mac running Big Sur and tried installing Workbench and the CLI. Both seemed to install ok but I can’t login via either. This seems to be the main blocker: Get “https://binaries.particle.io/node/v12.16.1/node-v12.16.1-darwin-x64.tar.gz”: dial tcp: i/o timeout

Funny thing is I can download the file through any browser just fine.

This is what I see in the logs…

achinmisra@bb8 ~ % particle login
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.

Could you try running with GODE_DEBUG=info?

$ GODE_DEBUG=info particle

If this is a M1 Mac my initial suspicion is that particle-cli-wrapper is unable to execute the managed nodejs binaries because they are for x86_64 darwin.

@m_m Does particle-cli work on new macs?

Edit:
Can you try enabling “Open using Rosetta”?

Does particle-cli work on new macs?

yes, assuming you check the "Open using Rosetta" option in terminal.app / iTerm

Thanks for the responses. It is an Intel Mac not an M1.

I don't get any additional info with running GODE_DEBUG=info particle

sachinmisra@bb8 ~ % GODE_DEBUG=info particle
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.

If you haven’t already installed the XCode command-line tools, you will likely need to:

$ xcode-select --install

Also, you may want to try this script, which can be installed with:

$ bash <( curl -sL https://particle.io/install-cli )

The script depends on Homebrew to install dfu-util and openssl.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.