-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[nuxt] [request error] [unhandled] [500] File URL path must not include encoded / characters #16705
Comments
Same on Fedora 41, error happens in v1.2.0, work fine in v1.1.45 |
Same on Ubuntu 24.04 (x64) |
Same on Windows 11 24H2 (26100.2894) |
I'm getting the same issue. The api routes seem to work fine "/api/hello.ts", the frontend routes are the ones that cause the error. ("/", "/about", ...) Bun version: 1.2.0 |
Same issue in Mac Book Air M1, Sequoia 15.1 |
same issue. downgrading nuxt to the latest 3.14.x made the error go away, so it's probably a nuxt problem |
Seems like Nuxt 3.15.3 with Nitro 2.10.4 on Bun 1.2.1-canary.48+68ee83067 still has error |
Not solved for me on latest canary either 😦 |
same issue on plain app:
![]() |
ssr: false = is work. |
the bug is in pathToFileURL |
i have a couple patches for these patches make sure to url decode any module urls containing " |
thank you for the interim patch. the escaping logic will be fixed in #16851 |
What version of Bun is running?
1.2.0+b0c5a7655
What platform is your computer?
Darwin 24.1.0 arm64 arm
What steps can reproduce the bug?
After upgrading to Bun 1.2, I tried installing clean Nuxt application using this guide: https://bun.sh/guides/ecosystem/nuxt.
After installing everything, I've ran this command:
And tried opening the application, but I was given Error 500 and also in the logs was written:
I tried running this command:
And it works normally.
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: