-
-
Notifications
You must be signed in to change notification settings - Fork 115
Build error: Received '\x00__vite-browser-external?commonjs-proxy' #362
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
Comments
A similar sounding issue (#340) was posted before but did not provide a reproduction, so thank you for posting this nice report! Did you search/replace |
yeah, |
This may be related to vitejs/vite#7576 axios, which is a dependency of intertia contains a |
one thing you could try is to override axios with https://github.com/developit/redaxios in your package.json something like This would require a very recent node18 on the serverside where native fetch is available but should work in any modern browser. |
Thank you for the suggestions. I have upgraded node from v16 to v18.3.0 and substituted |
It's better to track it in vite repo. Closing it here but please report back if it gets resolved. |
Raised vitejs/vite#8469 |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
I am seeing a build error when working on a project of Inertia + Svelte using Vite. The code works fine in development mode with HMR, but shows this error when doing a production build.
Is the error benign?
Is the root cause on the Inertia side?
Reproduction
I have supplied a minimal repro repo at https://github.com/niczero/vite-plugin-svelte-bug.
The package.json is:
Logs
Severity
annoyance
The text was updated successfully, but these errors were encountered: