oliviertassinari/react-event-listener

Module not found: Can't resolve '@babel/runtime/helpers/builtin/es6/getPrototypeOf'

kirill-konshin opened this issue · 6 comments

Seems that something is broken in latest release. I had to roll back to 0.5.3.

./node_modules/react-event-listener/dist/react-event-listener.esm.js
Module not found: Can't resolve '@babel/runtime/helpers/builtin/es6/getPrototypeOf' in '/xxx/node_modules/react-event-listener/dist'

0.5.5 should be working, can you confirm?

Can you try 0.5.7?

Alright, we should be back on track https://bundlephobia.com/result?p=react-event-listener@0.5.7. I wasn't expecting a babel runtime mismatch that soon. Let's hope it will continue to work like this for the next babel-runtime releases.

0.6.0 is out.

I'm getting the same problem.

"name": "react-event-listener", "version": "0.6.3"