distributions icon indicating copy to clipboard operation
distributions copied to clipboard

[ERROR] Node.js 20 on Raspbian 11 & 12 32bits Execution fails

Open Jerome-PS opened this issue 11 months ago • 0 comments

I get an Illegal instruction when trying to execute for example node --version on a Raspberry Pi 1b

Distribution Information:

  • OS: Raspbian
  • 11 Lite and 12 Lite
  • Platform is Raspberry Pi 1b

Node Version:

  • Node: 20.x (bundled 18.x seems to work, but is too old for Zigbee2MQTT)

To Reproduce Steps to reproduce the behavior:

  1. Install new Raspbian 11 Lite or 12 Lite using rpi-imager on a 32GB SD Card
  2. Execute Installation instructions from Zigbee2MQTT [https://www.zigbee2mqtt.io/guide/installation/01_linux.html#installing] for Node.js v20.x: sudo curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt-get install -y nodejs git make g++ gcc libsystemd-dev node --version Illegal instruction

Expected behavior Being able to complete the installation steps.

Screenshots Command line

Additional context Raspberry Pi with headless (Lite) vanilla installation

Jerome-PS avatar Feb 23 '25 17:02 Jerome-PS