Closed pimperator closed 7 months ago
fails since the version string in latest alpine container contains a single 'v' character.
It fails since the required range is invalid, fixed in https://github.com/nodejs/corepack/pull/378.
ah, yes. I can confirm that after your comment it worked perfectly.
npm install --global corepack
changed 1 package in 569ms
npm notice
npm notice New minor version of npm available! 10.2.4 -> 10.4.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.4.0
npm notice Run npm install -g npm@10.4.0 to update!
npm notice
/ # corepack --version
0.25.1
Installing corepack in a container with nodejs version 20.10.0 or 20.11.1 fails since the version string in latest alpine container contains a single 'v' character.
Ways to reproduce:
docker run -ti node:20-alpine /bin/sh
within the container:npm install --global corepack
On my side I recieve the following: