This previously worked with Pico SDK 2.1.1 -But fails with Pico SDK 2.2.0 - I have resolved the "The CPU architecture "arm" is incompatible with this module" issue, but "The engine "node" is incompatible with this module. Expected version ">=20.14.0". Got "18.19.0"" appears to relate to the 'nodejs' version number.
Using 'sudo apt install nodejs' on Raspberry Pi Bookworm OS does indeed install 'nodejs version v18.19.0".
How do I safely install a later version ?
Code:
cd ~/pico/pico-vscodesudo npm install -g @vscode/vsceyarnvsce packagels *.vsixCode:
pi@Pi4B:~/pico/pico-vscode $ yarnyarn install v1.22.22info No lockfile found.warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.[1/5] Validating package.json...error raspberry-pi-pico@0.17.7: The CPU architecture "arm" is incompatible with this module.warning raspberry-pi-pico@0.17.7: The engine "vscode" appears to be invalid.error raspberry-pi-pico@0.17.7: The engine "node" is incompatible with this module. Expected version ">=20.14.0". Got "18.19.0"error Found incompatible module.info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.Using 'sudo apt install nodejs' on Raspberry Pi Bookworm OS does indeed install 'nodejs version v18.19.0".
How do I safely install a later version ?
Statistics: Posted by hippy — Wed Jul 30, 2025 10:32 am — Replies 0 — Views 37