oven-sh / bun

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

bunx ignores registry #5492

Open dszymon opened 1 year ago

dszymon commented 1 year ago

What version of Bun is running?

1.0.2+37edd5a6e389265738e89265bcbdf2999cb81a49

What platform is your computer?

Darwin 22.2.0 arm64 arm

What steps can reproduce the bug?

  1. Create bunfig.toml with the following content:
    [install]
    registry = "https://my-custom-registry.com"
  2. Run bunx --bun @myorg/custom-cli some-command
  3. Registry from the config file is ignored
    error: package "@myorg/custom-cli" not found registry.npmjs.org/@myorg/custom-cli 404

What is the expected behavior?

bunx should use custom registry for the lookup

What do you see instead?

error: package "@myorg/custom-cli" not found registry.npmjs.org/@myorg/custom-cli 404

Additional information

No response

uiolee commented 9 months ago

same issue

eokic commented 2 months ago

Related I suppose #5361