-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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 not working with windows #23164
Comments
Probably better suited for a discussion, but yes, nuxt is. -> https://bun.sh/guides/ecosystem/nuxt |
Yes it is on the edge channel of nitro, you can set the resolution of nitropack to the edge channel to test it out |
But it doesn't work, it keeps crashing, whether in projects already under development or in a clean installation. Gravando.2023-09-12.230753.mp4 |
@marcelloinfoweb Please provide a reproduction environment (your operating system, Bun version and Nuxt/Nuxi version you can get via Bun works with Windows on MacOS and Linux but it seems you are on windows which is currently an experimental target for Bun according to their docs. |
(possible solution at the end?) naked install via but it still gets installed and can be started via browser console output is empty. nuxi info:
windows info:
wsl info:
and after testing all this i just made a typo by typing |
Clean install as per Bun documentation Working directory: /home/msc/projetos/my-nuxt-app 3:17:14 PM
Edição Windows 11 Pro Insider Preview Powershell: wsl -l -v
|
@marcelloinfoweb try |
Yes, but following the documentation, without --bun, it runs with node, which makes no sense using bun, and it is better to use pnpm, do you agree? https://bun.sh/guides/ecosystem/nuxt
|
ah.. i didn't see that, thanks for the info! at least my hard work providing all those details isn't wasted then, hope it helps finding a solution. |
Please consider that |
I understand, but I'm not running on Windows directly but on WSL (Ubuntu), which is a system that runs the native Linux kernel. It should work. |
yep, we are talking WSL (windws subsystem linux), not native windows build: just for reference, there is a bun-ticket for this problem as well: oven-sh/bun#4743 i tried some other related stuff with bun: vue3/vite and nitro apps are all working on bun with WSL |
Thanks for confirmation! Let's track it via upstream then (i have also subscribed for updates) |
I'm having the |
We would still be happy to track it if can find a workaround for Nuxt side. Only when an issue is closed, please consider making a fresh new issue mentioning exact nuxt and bun versions + platform (wsl, linux, macos, etc) and feel free to ping me to investigate 👍🏼 |
Apparently latest version of bun fixed issues with Vite and Rollup and now Nuxt works, can someone confirm? oven-sh/bun#4743 (comment) |
yeah i just comfirmed it over there too - works for me on win11 with wsl in a fresh nuxt3 and even with the tailwindcss nuxt module:
|
Describe the feature
It is compatible with Bun?
Additional information
Final checks
The text was updated successfully, but these errors were encountered: