-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Can't install Bun via npm/npx on Mac with an M1 processor #5806
Comments
I'm getting the same on a mac m1 |
System: |
Should probably have a "bug" tag instead of enhancement. |
same happening to me, any solution? |
Same error on M2 Pro. Problem appears to be with
The complete log:
|
This and #6177 are duplicates. Fixed it by making a fresh installation of nvm and node. I was using nvm which I migrated from an intel to M1. That's why it is causing issues. |
@shubham-bgi was the issue actually that or the fact you were trying this with a outdated node version? |
After removing
|
This should be a fix for you: After that everything worked out correctly. |
This fixes the issue for me while using
|
does this still reproduce for you? how about |
Seems to work now. |
New issue please. |
|
im getting Failed to find package "@oven/bun-darwin-aarch64" althought i was able to install it 🥱 very disappointing, was about to give bun a chance, but it looks like its to early, 4 hours wasted just to go back to node |
just change nodejs arch to arm64 by using nvm, default nodejs use x64
then
|
What is the problem this feature would solve?
Node and npm/npx are on lots of (most) systems today.
To be able to provide easy one-liners for running scripts across computers it would be great if we can have npx execute bun like this
I know - its better to to install globally, but this will make the transition easier.
What is the feature you are proposing to solve the problem?
Make sure that npx bun script.js works. At the moment (with v1.0.2) it spits out
What alternatives have you considered?
We can keep asking people to install yet another something, but lots or people are not allowed to install extra things (but have access to node behind the company firewall)
The text was updated successfully, but these errors were encountered: