Long story short, I had the CLI running on the previous MacOS version...then after upgrading to Monterey the espurino cli is the only thing that broke. Here's my steps I took to install it on MacOS v11:
Use nvm to make a v8.17.0 environment.
npm i -g node-gyp rebuild
npm i -g espruino
Go to the Security area of the System Preferences. Add Bluetooth permissions to the node version (which node) and the terminal app.
Might take a few espruino --list commands to see the Puck listed with MAC. Can connect from there with the port espruino -p aa-bb-cc-dd-ee-ff
After upgrading to Monterey, it just never connects and never lists the devices (tried new Pucks too); the Web IDE still works. Only thing I can see in the output that looks suspicious is xpcError: connection invalid when I call espruino -v --list. I made a new nvm environment and tried from scratch...same error. Any thoughts here...I'm not sure where to go next. Full output of the list command attached. Thanks for any pointers.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Long story short, I had the CLI running on the previous MacOS version...then after upgrading to Monterey the espurino cli is the only thing that broke. Here's my steps I took to install it on MacOS v11:
nvm
to make a v8.17.0 environment.npm i -g node-gyp rebuild
npm i -g espruino
which node
) and the terminal app.espruino --list
commands to see the Puck listed with MAC. Can connect from there with the portespruino -p aa-bb-cc-dd-ee-ff
After upgrading to Monterey, it just never connects and never lists the devices (tried new Pucks too); the Web IDE still works. Only thing I can see in the output that looks suspicious is
xpcError: connection invalid
when I callespruino -v --list
. I made a new nvm environment and tried from scratch...same error. Any thoughts here...I'm not sure where to go next. Full output of the list command attached. Thanks for any pointers.1 Attachment