Skip to content

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

@Jerome-PS

Description

@Jerome-PS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions