-
Notifications
You must be signed in to change notification settings - Fork 81
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
Uncaught ReferenceError: global is not defined #75
Comments
Were you able able to fix this? I'm also getting this error while trying to use react-code-blocks in my React app. |
Same. Any luck? |
Same here
|
any fix for this? i have been stuck on this error for days. |
vitejs/vite#5912 (comment) worked for me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
core.js:221
Uncaught ReferenceError: global is not defined
at capture (core.js:221:28)
at node_modules/react-code-blocks/node_modules/refractor/core.js (core.js:5:15)
at __require2 (chunk-62VDRKYJ.js?v=20a5b317:19:50)
at prism-light.js:2:23
The text was updated successfully, but these errors were encountered: