# Workbench and Particle CLI failing to login

**URL:** <https://community.particle.io/t/workbench-and-particle-cli-failing-to-login/59182>\
**Category:** Developer Tools\
**Created:** [January 25, 2021, 7:32pm UTC](https://community.particle.io/t/workbench-and-particle-cli-failing-to-login/59182 "2021-01-25T19:32:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![smisra1968](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@smisra1968](https://community.particle.io/u/smisra1968)\
**Post date:** [January 25, 2021, 7:32pm UTC](https://community.particle.io/t/workbench-and-particle-cli-failing-to-login/59182/1 "2021-01-25T19:32:19Z")

</div>

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](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](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.

---

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [January 25, 2021, 11:44pm UTC](https://community.particle.io/t/workbench-and-particle-cli-failing-to-login/59182/2 "2021-01-25T23:44:40Z")

</div>

Could you try running with GODE\_DEBUG=info?

```bash
$ 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”?

> <https://stackoverflow.com/questions/64899827/nodejs-on-apple-silicon-m1/64902152#64902152>

---

<div class="post-metadata">

**Author:** ![m\_m](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/m_m/32/18365_2.png) [@m\_m](https://community.particle.io/u/m_m)\
**Post date:** [January 26, 2021, 1:07am UTC](https://community.particle.io/t/workbench-and-particle-cli-failing-to-login/59182/3 "2021-01-26T01:07:40Z")

</div>

> Does particle-cli work on new macs?

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

---

<div class="post-metadata">

**Author:** ![smisra1968](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@smisra1968](https://community.particle.io/u/smisra1968)\
**Post date:** [January 26, 2021, 11:42am UTC](https://community.particle.io/t/workbench-and-particle-cli-failing-to-login/59182/4 "2021-01-26T11:42:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![smisra1968](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@smisra1968](https://community.particle.io/u/smisra1968)\
**Post date:** [January 26, 2021, 2:35pm UTC](https://community.particle.io/t/workbench-and-particle-cli-failing-to-login/59182/5 "2021-01-26T14:35:56Z")

</div>

> [@nrobinson2000](#):
>
> `GODE_DEBUG=info particle`

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](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.

---

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [January 26, 2021, 3:53pm UTC](https://community.particle.io/t/workbench-and-particle-cli-failing-to-login/59182/6 "2021-01-26T15:53:14Z")

</div>

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

```bash
$ xcode-select --install

```

Also, you may want to try [this script,](https://raw.githubusercontent.com/spark/particle-cli-wrapper/master/installer/unix/install-cli) which can be installed with:

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

```

The script depends on [Homebrew](https://brew.sh/) to install dfu-util and openssl.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/6/4/64635adccc35238caa19e9b553ec3e98b163d026.png) [@system](https://community.particle.io/u/system)\
**Post date:** [July 28, 2021, 3:53am UTC](https://community.particle.io/t/workbench-and-particle-cli-failing-to-login/59182/7 "2021-07-28T03:53:37Z")

</div>

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