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

Improve DX for bun link #2686

Open
renhiyama opened this issue Apr 18, 2023 · 1 comment · May be fixed by #15446
Open

Improve DX for bun link #2686

renhiyama opened this issue Apr 18, 2023 · 1 comment · May be fixed by #15446
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client confirmed bug We can reproduce this issue

Comments

@renhiyama
Copy link

What version of Bun is running?

0.5.9

What platform is your computer?

Linux 5.15.90.1-microsoft-standard-WSL2 x86_64 x86_64

What steps can reproduce the bug?

bun link . in a cli app based project.

What is the expected behavior?

Should work like npm link .

What do you see instead?

$ bun link .      
bun link v0.5.9 (f3ab445c)
error: unrecognised dependency format: .

Additional information

Also when I use bun link, it works, but it logs as this:

$ bun link 
bun link v0.5.9 (f3ab445c)
Success! Registered \"reejs\"

To use reejs in a project, run:
  bun link reejs

Or add it in dependencies in your package.json file:
  "reejs": "link:reejs"

Notice that \"reejs\" ? it should be either "reejs" or reejs.

@renhiyama renhiyama added the bug Something isn't working label Apr 18, 2023
@renhiyama
Copy link
Author

Also, a reminder for @Jarred-Sumner to change shebang from node to bun as discussed at https://discordapp.com/channels/876711213126520882/876711213126520885/1097756648812064819

Quote from Jarred:
image

@Electroid Electroid added the bun install Something that relates to the npm-compatible client label Oct 26, 2023
@RiskyMH RiskyMH added the confirmed bug We can reproduce this issue label Nov 27, 2024
RiskyMH added a commit that referenced this issue Nov 27, 2024
@RiskyMH RiskyMH linked a pull request Nov 27, 2024 that will close this issue
2 tasks
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 confirmed bug We can reproduce this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants