question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module `react-native-view-overflow` does not exist in the Haste module map

See original GitHub issue

after install the package my app crashes with this message:

Failed to load bundle(http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false) with error:(Unable to resolve module react-native-view-overflowfrom…/node_modules/react-native-deck-swiper/Swiper.js: Module react-native-view-overflow` does not exist in the Haste module map

This might be related to https://github.com/facebook/react-native/issues/4968 To resolve try the following:

  1. Clear watchman watches: watchman watch-del-all.
  2. Delete the node_modules folder: rm -rf node_modules && npm install.
  3. Reset Metro Bundler cache: rm -rf /tmp/metro-bundler-cache-* or npm start -- --reset-cache.
  4. Remove haste cache: rm -rf /tmp/haste-map-react-native-packager-*. (null))

__38-[RCTCxxBridge loadSource:onProgress:]_block_invoke.228 RCTCxxBridge.mm:414 ___ZL36attemptAsynchronousLoadOfBundleAtURLP5NSURLU13block_pointerFvP18RCTLoadingProgressEU13block_pointerFvP7NSErrorP9RCTSourceE_block_invoke.118 __80-[RCTMultipartDataTask URLSession:streamTask:didBecomeInputStream:outputStream:]_block_invoke -[RCTMultipartStreamReader emitChunk:headers:callback:done:] -[RCTMultipartStreamReader readAllPartsWithCompletionCallback:progressCallback:] -[RCTMultipartDataTask URLSession:streamTask:didBecomeInputStream:outputStream:] __88-[NSURLSession delegate_streamTask:didBecomeInputStream:outputStream:completionHandler:]_block_invoke NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK -[NSBlockOperation main] -[__NSOperationInternal _start:] __NSOQSchedule_f _dispatch_call_block_and_release _dispatch_client_callout _dispatch_continuation_pop _dispatch_async_redirect_invoke _dispatch_root_queue_drain _dispatch_worker_thread2 _pthread_wqthread start_wqthread `

I’m on

{
    "react": "16.8.3",
    "react-native": "0.59.1",
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:11
  • Comments:18

github_iconTop GitHub Comments

12reactions
TayfunCesurcommented, Apr 25, 2019

I fixed this issue by npm install --save react-native-view-overflow

So funny 😄 Now demo works on IOS simulator

4reactions
mulhaus1commented, Apr 8, 2019

I had a similar issue and fixed it by setting the useViewOverflow prop to false

Read more comments on GitHub >

github_iconTop Results From Across the Web

Module `react-native-screens` does not exist in the Haste ...
react -native-screens this is the package. But in your package.json file it is only react-native-screen. please change this.
Read more >
"Module does not exist in the Haste module map" problem
I am building the iOS app with React Native(not with expo), and I get the error with the react-native-bip39 module installation. Since I...
Read more >
react native unable to resolve module - You.com
I was reading the error message as "can't resolve a path to the module". ... importing the native Node module path , which...
Read more >
React Native issue: Module does not exist in the Haste ...
Coding example for the question React Native issue: Module does not exist in the Haste module map-Reactjs.
Read more >
Platform Specific Code - React Native
React Native provides a module that detects the platform in which the ... If those are not specified, native key will be used...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found