Closed take0ut closed 11 months ago
Your computer is an M2, but it's reporting that it's an x64 machine. Is your shell running using Rosetta? If sysctl -n sysctl.proc_translated
returns 1
, then you are running in Rosetta.
sysctl -n sysctl.proc_translated returns 1
Yup, this was the case! Interestingly enough, my main terminal is running on the correct architecture, but the terminal inside of VSCode is running under Rosetta.
Closing this issue, as this one is on me!
What version of Bun is running?
1.0.11+f7f6233ea
What platform is your computer?
Darwin 21.6.0 x86_64 i386
What steps can reproduce the bug?
On my M2 Macbook Air, I get an error when trying to run a vite application created with
bun create vite
Steps to reproduce:
1) Create a new vite application using
bun create vite
2) SelectReact
andTypescript
as options for vite application creation. 3) Runbun install
in the newly created application directory 4) Runbun dev
in the application directory—you should see the above error.What is the expected behavior?
No response
What do you see instead?
No response
Additional information
This error also appears when creating a vite application with vanilla Typescript or Javascript (React does not appear to be related to the bug).