-
Notifications
You must be signed in to change notification settings - Fork 61
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
Error trying to use: __DEFINES__ is not defined #283
Comments
Failed to resolve module specifier "pathe". Relative references must start with either "/", "./", or "../". https://github.com/nksaraf/vinxi/blob/main/packages/vinxi/lib/path.js Regarding this error I did not encounter it after I pulled vinxi locally and added my code to exmaples as a subproject. |
I'm running into this issue as well. Here is a repro for a vue ssr app. |
I've found a workaround but I'm not sure what the ramifications of it would be. Add the vinxi config plugin import to your vinxi config file:
in the client route under the vite plugins section add the config plugin like so:
|
I'm wrapping up a tanstack-router based ssr framework (similar to nextjs)
Currently the javascript is not loading correctly in the browser (mine-type error or vite error)
repo: https://github.com/StringKe/qingmu
A guess about this error: the import in entry.client.tsx was not processed by vite and the content was returned uncompiled.
The text was updated successfully, but these errors were encountered: