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

bunx does not work with github:user/repo syntax #5974

Closed
cyfung1031 opened this issue Sep 23, 2023 · 0 comments · Fixed by #6042
Closed

bunx does not work with github:user/repo syntax #5974

cyfung1031 opened this issue Sep 23, 2023 · 0 comments · Fixed by #6042
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client

Comments

@cyfung1031
Copy link
Contributor

cyfung1031 commented Sep 23, 2023

What version of Bun is running?

1.0.3+25e69c71e70ac8a0a88f9cf15b4057bd7b2a633a

What platform is your computer?

Darwin 21.6.0 arm64 arm

What steps can reproduce the bug?

bunx github:cyfung1031/vm-repack-2154 --help

What is the expected behavior?

same as npx github:cyfung1031/vm-repack-2154 --help
which is clone the project from GitHub, run the bin vm-repack-2154

What do you see instead?

  🔍 Resolving [1/1] 
error: InstallFailed cloning repository for @github:cyfung1031/vm-repack-215
🔍 Resolving [2/1] 
error: "git clone" for "@github:cyfung1031/vm-repack-2154" failed


error: "git clone" for "@github:cyfung1031/vm-repack-2154" failed
@cyfung1031 cyfung1031 added the bug Something isn't working label Sep 23, 2023
@Electroid Electroid added the bun install Something that relates to the npm-compatible client label Sep 23, 2023
Electroid pushed a commit that referenced this issue Oct 3, 2023
* fix bunx command for github package

* refactor fmt package to use it when the path is seted

* use labeled block to assign const instead of use 'undefined'
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

Successfully merging a pull request may close this issue.

2 participants