oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.94k stars 2.75k forks source link

pm: install fetches non-existent npm alias and fails with http 404 #14475

Open nektro opened 2 weeks ago

nektro commented 2 weeks ago

What version of Bun is running?

1.1.30-debug+adc86c773

What platform is your computer?

Darwin 23.5.0 arm64 arm

What steps can reproduce the bug?

git clone https://github.com/googlechrome/workbox
cd workbox
bun install

What is the expected behavior?

success

What do you see instead?

bun install v1.1.30 (adc86c77)
[122.72ms] migrated lockfile from package-lock.json
error: GET https://registry.npmjs.org/html-webpack-plugin-v5/-/html-webpack-plugin-v5-5.3.1.tgz - 404
- command exited with non-zero status: 1

Additional information

    "html-webpack-plugin-v4": "npm:html-webpack-plugin@^4.5.0",
    "html-webpack-plugin-v5": "npm:html-webpack-plugin@^5.0.0-alpha.14",
Zooce commented 2 weeks ago

Same here on my Windows machine at work with a custom registry set... Happening since 1.1.30 - bun install v1.1.30 (7996d06b). Same errors with bun update.

Zooce commented 5 days ago

Still happening in v1.1.31 and it think #14553 is related.