Skip to content

[ERROR] Node.js 16.x on Debian Bookworm Installation fail #1601

@hariso

Description

@hariso

Before we come to the bug, thank you very much for this project!

Describe your bug
Installing NodeJS 16 on Debian Bookworm gives npm: command not found.

Distribution Information:

  • OS: Debian
  • Version: Bookworm
  • Docker image: debian:bookworm-20230703

Node Version:

  • Node: v16.x

To Reproduce
Steps to reproduce the behavior:

  1. Install Debian Bookworm: docker run -ti --rm debian:bookworm-20230703 /bin/bash
  2. Install Node.js v16.x using following instructions:
apt-get update && \
    apt-get install -y curl

curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
    apt-get install -y nodejs && \
    npm update

Expected behavior
npm is correctly installed. Instead

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Same works on debian:bullseye.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions