Replies: 5 comments 6 replies
-
Which is all good, npm8 supports 12 and above 🤷
You can still install older node16 versions. I wanted to stay safe. |
Beta Was this translation helpful? Give feedback.
-
From @st3iny Also, some distros still ship NPM 7 by default (e.g. Debian). |
Beta Was this translation helpful? Give feedback.
-
I've checked the Debian Node and NPM versions.
In Node download pages we are redirected to NodeSource binaries and install scripts. After install Node v16, we got NPM 8 curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
apt-get install -y nodejs
node --version
#> v16.15.1
npm --version
#> 8.11.0 Do not look reasonable to me, keep the NPM v7, when it is not used in any combination of those examples. Docker images test
apt update
apt install nodejs -y
apt install npm -y Stretch v9
nodejs --version
#> v4.8.2
npm --version
#> npm: command not found Buster v10
nodejs --version
#> v10.24.0
npm --version
#> 5.8.0 Bullseye v11
nodejs --version
#> v12.22.12
npm --version
#> 7.5.2 Debian Bookworm
node --version
#> v16.15.1
npm --version
#> 8.13.1 Debian Sid
node --version
#> v16.15.1
npm --version
#> 8.13.2 Ubuntu 22.04
node --version
#> v12.22.9
npm --version
#> 8.5.1 Fedora 36
dfn update
dnf install node node --version
#> v16.14.0
npm --version
#> 8.3.1 OpenSuse Leap 15
zypper install nodejs16
zypper install npm node --version
#> v16.14.1
npm --version
#> 8.5.0
|
Beta Was this translation helpful? Give feedback.
-
Ok - so i think i would also still keep npm MIN-version at 7. Just because there are Versions of Node 16, that install by default with npm 7 and that should work out of the box (and as far as i see, 'out of the box' is a common argument). Alternative would imo only be to increase the node version further to ( ... comment to be continued in #7 ) |
Beta Was this translation helpful? Give feedback.
-
Can we move forward with NPM v8? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To not pollute the main ticket.
from @vinicius73
All current installation of Node 16 will use NPM v8
And NPM v8 have some important particularities who look relevant.
This particular behaviour is very important to prevent more correlated issues about NPM and Node version in any project.
The first LTS version of Node 16 uses NPM8
Beta Was this translation helpful? Give feedback.
All reactions