Skip to content
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 #59

Open
purushottamshiwakoti opened this issue Sep 11, 2023 · 2 comments
Open

Uncaught ReferenceError: global is not defined #59

purushottamshiwakoti opened this issue Sep 11, 2023 · 2 comments

Comments

@purushottamshiwakoti
Copy link

Uncaught ReferenceError: global is not defined
at node_modules/react-mathquill/dist/react-mathquill.js (react-mathquill.js:18:4)
at __require (chunk-UZX524IT.js?v=33be9258:3:50)
at node_modules/react-mathquill/index.js (index.js:6:20)
at __require (chunk-UZX524IT.js?v=33be9258:3:50)
at index.js:7:1

@ProvotorOFF
Copy link

have the same problem

@wuguishifu
Copy link

wuguishifu commented Dec 13, 2023

@ProvotorOFF @purushottamshiwakoti

this issue is caused by global being renamed to globalThis. You can temporarily fix this issue by adding

<script>const global = globalThis;</script>

to your index.html file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants