# Started getting error output on any particle cli command

**URL:** https://community.particle.io/t/started-getting-error-output-on-any-particle-cli-command/17397
**Category:** Troubleshooting
**Created:** [November 12, 2015, 11:35pm UTC](https://community.particle.io/t/started-getting-error-output-on-any-particle-cli-command/17397 "2015-11-12T23:35:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![david3](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@david3](https://community.particle.io/u/david3)
#### Post date: [November 12, 2015, 11:35pm UTC](https://community.particle.io/t/started-getting-error-output-on-any-particle-cli-command/17397/1 "2015-11-12T23:35:30Z")

</div>

On Mac, my particle commands (any of them, including just 'particle') now return this before successfully completing:

> Error loading command /usr/local/lib/node\_modules/particle-cli/commands/CloudCommands.js Error: Cannot find module '/usr/local/lib/node\_modules/particle-cli/node\_modules/serialport/build/serialport/v1.7.4/Release/node-v47-darwin-x64/serialport.node'  
> Error loading command /usr/local/lib/node\_modules/particle-cli/commands/SerialCommand.js Error: Cannot find module '/usr/local/lib/node\_modules/particle-cli/node\_modules/serialport/build/serialport/v1.7.4/Release/node-v47-darwin-x64/serialport.node'

Any suggestions?

Thanks

---

<div class="post-metadata">

### Author: ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)
#### Post date: [November 12, 2015, 11:45pm UTC](https://community.particle.io/t/started-getting-error-output-on-any-particle-cli-command/17397/2 "2015-11-12T23:45:08Z")

</div>

Can you do a `npm uninstall -g particle-cli` and `npm install -g particle-cli` again? Seems like an installation issue

---

<div class="post-metadata">

### Author: ![david3](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@david3](https://community.particle.io/u/david3)
#### Post date: [November 13, 2015, 1:02am UTC](https://community.particle.io/t/started-getting-error-output-on-any-particle-cli-command/17397/3 "2015-11-13T01:02:39Z")

</div>

> [@kennethlimcp](#):
>
> npm install -g particle-cli

Thanks. I think I had forgotten that I had upgraded to node 5.0.0 and it appears there is a conflict. I downgraded to node 4.2.2 and reinstalled particle and it seems fine.

---

<div class="post-metadata">

### Author: ![hola](https://avatars.discourse-cdn.com/v4/letter/h/e47774/32.png) [@hola](https://community.particle.io/u/hola)
#### Post date: [February 14, 2016, 2:46am UTC](https://community.particle.io/t/started-getting-error-output-on-any-particle-cli-command/17397/4 "2016-02-14T02:46:37Z")

</div>

Hi,  
I’m also facing this issue on node v5.5.0. I tried to uninstall and re-install particle-cli but it still doesn’t work. I get the same exact error message from the first post.

---

<div class="post-metadata">

### Author: ![hola](https://avatars.discourse-cdn.com/v4/letter/h/e47774/32.png) [@hola](https://community.particle.io/u/hola)
#### Post date: [February 14, 2016, 2:57am UTC](https://community.particle.io/t/started-getting-error-output-on-any-particle-cli-command/17397/5 "2016-02-14T02:57:31Z")

</div>

Fixed! I just had to install the node serialport library (`npm install serialport`), remove particle-cli, then re-install.
