Cannot find module `execa`

[14:37:04] (base) ➜  ~ particle tachyon setup
Cannot find module 'execa'
Require stack:
- /usr/local/lib/node_modules/particle-cli/src/lib/qdl.js
- /usr/local/lib/node_modules/particle-cli/src/cmd/flash.js
- /usr/local/lib/node_modules/particle-cli/src/cmd/setup-tachyon.js
- /usr/local/lib/node_modules/particle-cli/src/cli/tachyon.js
- /usr/local/lib/node_modules/particle-cli/src/cli/index.js
- /usr/local/lib/node_modules/particle-cli/src/app/cli.js
- /usr/local/lib/node_modules/particle-cli/src/index.js

Error above - guidance appreciated.

Note: particle version is 3.39.0 installed.

Hi,

Can you let me know what operating system you're using and how you installed the Particle CLI? Thanks.

AM on Mac OS 15.5

Used sudo npm install -g particle-cli

Installing the CLI with npm install -g can fail to install depending on the version of node on your system.

We recommend to use the CLI installer documented here to install the CLI. For Mac, you can use

sudo npm uninstall -g particle-cli
bash <( curl -sL https://particle.io/install-cli )

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