Skip to content

Installation on a Pi Zero fails due to unsupported ARMv6 architecture #177

@osresearch

Description

@osresearch

The version of node.js mentioned in the README is very old -- 12.x has been deprecated for a while and the current recommended one is 20.5 (LTS is 18.17). In either case they are not built for the ARMv6 in the Pi Zero and result in an error message:

% curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash -

## Installing the NodeSource Node.js 18.x repo...


## You appear to be running on ARMv6 hardware. Unfortunately this is not currently supported by the NodeSource Linux distributions. Please use the 'linux-armv6l' binary tarballs available directly from nodejs.org for Node.js 4 and later.

It looks like the last linux-armv6l tarball available is 11.8.0: https://nodejs.org/dist/v11.8.0/node-v11.8.0-linux-armv6l.tar.xz I've instead successfully installed npm from the Pi's package manager with sudo apt install npm, which is currently 7.5.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions