React-native-tab-view: Library not working

Created on 4 Mar 2019  路  6Comments  路  Source: satya164/react-native-tab-view


Current behaviour


Failed to load bundle(http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false) with error:(Unable to resolve module react-native-reanimated from /Users/siddhantchadha/Desktop/Plootus/plootusreactapp/node_modules/react-native-tab-view/src/TabBar.js: Module react-native-reanimated 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.226
RCTCxxBridge.mm:412
___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

Expected behaviour

Code sample

Screenshots (if applicable)

What have you tried

Your Environment

| software | version
| ---------------------------- | -------
| ios or android |
| react-native |
| react-native-tab-view |
| react-native-gesture-handler |
| react-native-reanimated |
| node |
| npm or yarn |

Most helpful comment

You should read the installation section on the front page.
Also, don't ignore issue templates.

All 6 comments

You should read the installation section on the front page.
Also, don't ignore issue templates.

Please follow the README and if it's still not working, open a new issue with the issue template.

same issues for me.
does the version 2.0.1 work with "react 16.5.2" and "react-native 0.55.4" ?

+1 same

doesnt work same

try npm install react-native-reanimated

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KingAmo picture KingAmo  路  3Comments

nastarfan picture nastarfan  路  3Comments

moerabaya picture moerabaya  路  4Comments

f6m6 picture f6m6  路  3Comments

hyochan35 picture hyochan35  路  3Comments