Unable to connect board on Mac - receive error message "zsh: command not found: edge-impulse-daemon"

Have tried 3 times on 3 different occasions to install the Arduino Nano 33 BLE Sense Rev2 board. I can go through all the steps but receive these errors when installing the Edge Impulse CLI tools:

npm ERR! xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: make failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)
npm ERR! gyp ERR! System Darwin 21.6.0
npm ERR! gyp ERR! command “/usr/local/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
npm ERR! gyp ERR! cwd /Users/macbook/.npm-global/lib/node_modules/edge-impulse-cli/node_modules/@serialport/bindings
npm ERR! gyp ERR! node -v v18.18.1
npm ERR! gyp ERR! node-gyp -v v9.4.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: /Users/macbook/.npm/_logs/2023-10-11T03_22_37_042Z-debug-0.log

I have reviewed the other Forum posts on this topic, as well as the Troubleshooting section of the Installation page. Any guidance is appreciated.

Hello @pvenuto,

Can you try to run:

xcode-select --install

And then try again to install the CLI

Best,

Louis

This worked! Thank you.

1 Like