Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bun install not able to resolve packages pointed at branches containing a / #5478

Closed
tagliala opened this issue Sep 15, 2023 · 1 comment
Closed
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client

Comments

@tagliala
Copy link

What version of Bun is running?

1.0.1+31aec4ebe325982fc0ef27498984b0ad9969162b

What platform is your computer?

Darwin 22.6.0 arm64 arm

What steps can reproduce the bug?

  1. bun init
  2. Add "@client-side-validations/client-side-validations": "DavyJonesLocker/client_side_validations#experimental/test" to your package.json
  3. bun install

What is the expected behavior?

Install the expected package at the expected branch, like yarn and npm are doing

npm

npm install

added 3 packages, changed 1 package, and audited 5 packages in 33s

yarn

warning package.json: No license field
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
warning bun-test: No license field
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " > @client-side-validations/[email protected]" has unmet peer dependency "jquery@>= 1.12.4 < 4.0.0".
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
✨  Done in 2.12s.

What do you see instead?

error: package "@client-side-validations/client-side-validations" with tag "DavyJonesLocker/client_side_validations#experimental/test" not found, but package exists

Additional information

Hello,

I'm new to Bun and I'm not a javascript developer.

I've tried to search, so apologies if this is a duplicate.

This issue May be related to #4686, #4666 or #3274 but the description of the issue and the discussion does not look related

I've created an experimental-test branch and it works, so probably it's the / in the tag name

@tagliala tagliala added the bug Something isn't working label Sep 15, 2023
@Electroid Electroid added the bun install Something that relates to the npm-compatible client label Sep 15, 2023
@dylan-conway
Copy link
Member

fixed in #5941

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client
Projects
None yet
Development

No branches or pull requests

3 participants