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 --global also globally install the binaries from dependencies #10985

Open
felipecrs opened this issue May 10, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@felipecrs
Copy link

What version of Bun is running?

1.1.7+b0b7db5c0

What platform is your computer?

Linux 5.15.0-105-generic x86_64 x86_64

What steps can reproduce the bug?

$ bun install --global docker-meta@4

$ ls -la ~/.bun/bin
lrwxrwxrwx 1 felipecrs felipecrs   66 May 10 11:06 docker-meta -> /home/felipecrs/.bun/install/global/node_modules/docker-meta/bin/run
lrwxrwxrwx 1 felipecrs felipecrs   63 May 10 11:06 is-docker -> /home/felipecrs/.bun/install/global/node_modules/is-docker/cli.js
lrwxrwxrwx 1 felipecrs felipecrs   67 May 10 11:06 node-which -> /home/felipecrs/.bun/install/global/node_modules/which/bin/node-which
lrwxrwxrwx 1 felipecrs felipecrs   66 May 10 11:06 resolve -> /home/felipecrs/.bun/install/global/node_modules/resolve/bin/resolve
lrwxrwxrwx 1 felipecrs felipecrs   67 May 10 11:06 semver -> /home/felipecrs/.bun/install/global/node_modules/semver/bin/semver.js
lrwxrwxrwx 1 felipecrs felipecrs   63 May 10 11:06 shjs -> /home/felipecrs/.bun/install/global/node_modules/shelljs/bin/shjs

What is the expected behavior?

npm install --global docker-meta@4

Only installs the binaries from the dependency I asked it to install. I believe it makes a lot more sense.

What do you see instead?

See above.

Additional information

No response

@felipecrs felipecrs added the bug Something isn't working label May 10, 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
Projects
None yet
Development

No branches or pull requests

1 participant