You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your bug npm is missing after running install script.
The package from debian is installed instead of the nodesource package.
Distribution Information:
OS: Debian
Version: bookworm
Other info if applicable: docker image
Node Version:
Node: 16
To Reproduce
Steps to reproduce the behavior:
Execute Debian Docker Image python:3.8
Execute Installation instructions for Node.js v16:
Run npm --version
Expected behavior npm is installed and returns the current version
Additional context
$ apt update && apt install -y nodejs
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 https://deb.nodesource.com/node_16.x bookworm InRelease
Reading package lists...
Building dependency tree...
Reading state information...
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
nodejs is already the newest version (18.13.0+dfsg1-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
$ apt-cache policy nodejs
nodejs:
Installed: 18.13.0+dfsg1-1
Candidate: 18.13.0+dfsg1-1
Version table:
*** 18.13.0+dfsg1-1 500
500 http://deb.debian.org/debian bookworm/main amd64 Packages
100 /var/lib/dpkg/status
16.20.1-deb-1nodesource1 500
500 https://deb.nodesource.com/node_16.x bookworm/main amd64 Packages
$ python --version
Python 3.8.17
$ node --version
v18.13.0
$ npm --version
/usr/bin/bash: line 160: npm: command not found
The text was updated successfully, but these errors were encountered:
Describe your bug
npm
is missing after running install script.The package from debian is installed instead of the nodesource package.
Distribution Information:
Node Version:
To Reproduce
Steps to reproduce the behavior:
python:3.8
npm --version
Expected behavior
npm
is installed and returns the current versionAdditional context
The text was updated successfully, but these errors were encountered: