This lib does not work with react native 0.62
See original GitHub issueI’m trying to run the example code, after I install the lib via:
yarn add react-native-deck-swiper
When I try to open the app after installation I get the following:
Check the render method of `_default`.
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of `_default`.
at createFiberFromTypeAndProps (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:24667:30)
at createFiberFromElement (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:24688:48)
at reconcileSingleElement (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:15516:51)
at reconcileChildFibers (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:15563:63)
at reconcileChildren (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:17763:50)
at updateHostComponent (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:18161:26)
at beginWork$1 (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:19391:39)
at apply (native)
at invokeGuardedCallbackImpl (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:9137:21)
at apply (native)
at invokeGuardedCallback (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:9231:42)
at beginWork$$1 (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:23943:34)
at performUnitOfWork (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:23077:30)
at workLoopSync (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:23059:45)
at performSyncWorkOnRoot (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:22754:29)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:12701:38)
at unstable_runWithPriority (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:47555:30)
at runWithPriority (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:12653:41)
at flushSyncCallbackQueueImpl (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:12696:28)
at flushSyncCallbackQueue (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:12685:35)
at scheduleUpdateOnFiber (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:22344:37)
at enqueueSetState (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:14201:23)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:4732:37)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:111191:27)
at dispatch (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:108207:17)
at rehydrate (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:110896:23)
at _rehydrate (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:110245:29)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:110270:23)
at tryCallOne (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:28860:16)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:28961:27)
at apply (native)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:32510:26)
at _callTimer (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:32400:17)
at _callImmediatesPass (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:32436:19)
at callImmediates (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:32654:33)
at __callImmediates (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2719:35)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2505:34)
at __guard (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2702:15)
at flushedQueue (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2504:21)
at invokeCallbackAndReturnFlushedQueue (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2497:33)
Does anyone has the same problem? I tried to find some information on Issues but it seems nobody has this problem.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Library not found after update React Native 0.62 #28483
I'm getting this error "Library not found for -lRNAdMobManager" for the iOS version in xcode after installing React Native Firebase @react- ...
Read more >library not found for -lBranch after React Native 0.62 Update
I fixed this by adding $(PROJECT_DIR)/Pods/Branch to my Framework Search Paths .
Read more >Upgrade to React Native 0.62 - Matt Oakes
React Native 0.62 has been a long time coming and brings many changes, large and small. This article explains what's new, how to...
Read more >Native Module Setup · React Native for Windows + macOS
Open Visual Studio and select Create a new project . You're going to create a new Windows Runtime Component project, which produces a...
Read more >About React Native Reanimated - Software Mansion
Known problems and limitations · As the library uses JSI for synchronous native methods access, remote debugging is no longer possible. · Objects...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
same here.
I’ve forked again the repo and am looking to maintain it and hopefully in a couple of weeks we’ll be able to push a npm release. There’s also reports of the package working fine on RN 0.63 so the problem with it not working on .62 may be triggered by something else.