Replies: 4 comments 3 replies
-
any repro? what config, plugins, packages, the full stack trace, local build + preview error? etc etc. hard to know otherwise. |
Beta Was this translation helpful? Give feedback.
0 replies
-
How did you solve it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I encounter same problem |
Beta Was this translation helpful? Give feedback.
1 reply
-
I solved the problem. As for me, the problem was caused by a package that depends on 'ordered-uuid'. here is how i solve the problem
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My vite react app work perfectly on the localhost, after I deployed it to vercel, the page goes blank and this message is logged to the console Uncaught ReferenceError: require is not defined
I have tried many ways to resolve it but to no avail. I even downgraded the nodejs version from 18x to 16x yet the issue haven't resolved.
Here is the error message:
Here is the line within the index-08337b32.js that is causing the error:
Beta Was this translation helpful? Give feedback.
All reactions