tunoltd / emoji-mart-native

One component to pick them all 👊🏼
https://tunoltd.github.io/emoji-mart-native
BSD 3-Clause "New" or "Revised" License
86 stars 31 forks source link

Upgrade to RN 0.59.8 Unable to resolve module #65

Closed devpascoe closed 5 years ago

devpascoe commented 5 years ago

I came across this while upgrading from RN 0.56 to 0.59 and figured i'd share.

Failed to load bundle(http://localhost:8081/src/index.bundle?platform=ios) with error:(Unable to resolve module babel-runtime/helpers/classCallCheck from /node_modules/emoji-mart-native/dist/utils/emoji-index/nimble-emoji-index.js: Module babel-runtime/helpers/classCallCheck does not exist in the Haste module map

Came across something similar here https://github.com/babel/babel/issues/1872 and so running this fixed the issue. $ npm install --save babel-runtime --save