nodesource / nodesource/distributions

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

Open
#1,852 1 comment 1 reaction 1 assignee View on GitHub

@riosje is already working on this.

Since Jul 9, 2026.

Dominant language
Shell
Stars
13.8k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.