react-mathquill icon indicating copy to clipboard operation
react-mathquill copied to clipboard

Uncaught ReferenceError: global is not defined

Open purushottamshiwakoti opened this issue 2 years ago • 2 comments

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

purushottamshiwakoti avatar Sep 11 '23 15:09 purushottamshiwakoti

have the same problem

ProvotorOFF avatar Dec 07 '23 20:12 ProvotorOFF

@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.

wuguishifu avatar Dec 13 '23 22:12 wuguishifu