bevacqua / react-dragula

:ok_hand: Drag and drop so simple it hurts
http://bevacqua.github.io/react-dragula
MIT License
994 stars 77 forks source link

Uncaught ReferenceError: global is not defined #37

Closed amanharwara closed 4 years ago

amanharwara commented 4 years ago

I am using react-dragula with React v16.13.0 along with TypeScript.

This is the error I get:

Uncaught ReferenceError: global is not defined
    at Object../node_modules/custom-event/index.js (index.js:2)
    at __webpack_require__ (bootstrap:725)
    at fn (bootstrap:100)
    at Object../node_modules/crossvent/src/crossvent.js (crossvent.js:3)
    at __webpack_require__ (bootstrap:725)
    at fn (bootstrap:100)
    at Object../node_modules/dragula/dragula.js (dragula.js:4)
    at __webpack_require__ (bootstrap:725)
    at fn (bootstrap:100)
    at Object../node_modules/react-dragula/react-dragula.js (react-dragula.js:3)
amanharwara commented 4 years ago

Sorry. Not caused by react-dragula so I'm closing this.