Uncaught ReferenceError: require is not defined in React Vite in Production #15350
Unanswered
abdulaziz-sultonmurodov
asked this question in
Q&A
Replies: 2 comments
-
i also having truble can u guys help |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having issue which says Uncaught ReferenceError: require is not defined. I am using React 18, Vite version 5. I implemented Vite to my existing React project. Everything working in dev, but when I build and deploy it into production, I am having this error, I searched everywhere but no success.. Can anyone help me with it?
Beta Was this translation helpful? Give feedback.
All reactions