main.jsx?t=1714123519742:4 Uncaught SyntaxError: The requested module '/src/App.jsx?t=1714123519742' does not provide an export named 'default' (at main.jsx?t=1714123519742:4:8) #16531
Unanswered
MehrshadHeisenberg
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone
I am currently having a problem with vite
I am trying to build a project with React, Tailwindcss, Vite and Shadcn/ui
Now the problem is that during development I keep getting an error in the console which seems to come from vite which is this:
Uncaught SyntaxError: The requested module '/src/App.jsx?t=1714123519742' does not provide an export named 'default' (at main.jsx?t=1714123519742:4:8)
It seems like vite keeps adding some kind of a random string to the end of the file and then when trying to import it, it doesn't find it and says that there is no export
I actually found a same discussion with the same error but with node_modules but in there it seemed that by restarting the project the problem has been solved but I really have tried this too many times and yet I get the same error after some changes
This is the repo if you want to check it out
Beta Was this translation helpful? Give feedback.
All reactions