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

[Bug] Bun does not move dependencies to their correct destination if the package is already installed #14722

Open
marioparaschiv opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client

Comments

@marioparaschiv
Copy link

What version of Bun is running?

1.1.31+e448c4cc3

What platform is your computer?

Darwin 24.0.0 arm64 arm

What steps can reproduce the bug?

  • bun install vite
  • bun install vite -D

Bun will not move the dependency to devDependencies, even after a successful install message.

The same can be observed for the opposite:

  • bun install vite -D
  • bun install vite

Bun will fail to move vite to dependencies.

What is the expected behavior?

Bun should move the dependencies to their correct destination based on CLI arguments provided.

What do you see instead?

Image

Additional information

No response

@marioparaschiv marioparaschiv added bug Something isn't working needs triage labels Oct 21, 2024
@nektro nektro added bun install Something that relates to the npm-compatible client and removed needs triage labels Oct 22, 2024
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

2 participants