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.

React native 0.10.1 support

See original GitHub issue

Hi, I’m getting:

Error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. Check the render method of `ReactStrap`.
 stack: 
  instantiateReactComponent                          index.ios.bundle:8188
  Object.ReactChildReconciler.instantiateChildren    index.ios.bundle:22284
  ReactMultiChild.Mixin.mountChildren                index.ios.bundle:21993
  ReactNativeBaseComponent.Mixin.initializeChildren  index.ios.bundle:19306
  ReactNativeBaseComponent.Mixin.mountComponent      index.ios.bundle:19471
  Object.ReactReconciler.mountComponent              index.ios.bundle:6696
  ReactCompositeComponentMixin.mountComponent        index.ios.bundle:8494
  wrapper [as mountComponent]                        index.ios.bundle:5858
  Object.ReactReconciler.mountComponent              index.ios.bundle:6696
 URL: undefined
 line: undefined
 message: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. Check the render method of `ReactStrap`.

when trying to use the carousel module, any idea what’s going on here?

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:6

github_iconTop GitHub Comments

22reactions
aymericbouzycommented, Apr 1, 2016

I had this issue because i had written

import {foo} from './foo'

where my foo.js file read

export default foo

writing import foo from './foo' fixed it. Hope this helps!

9reactions
thorbenandresencommented, Sep 13, 2015

I had this error when I had a typo in module.exports = ComponentName; (forgot the “s” in exports)

Read more comments on GitHub >

github_iconTop Results From Across the Web

stream-chat-react-native-core 0.10.1 vulnerabilities | Snyk
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities (in both your packages & their dependencies) and provides ...
Read more >
react-native/CHANGELOG.md at main - GitHub
A framework for building native applications using React ... Support TypeScript array types for turbo module (module only) (f0c4c291e1 by @ZihanChen-MSFT) ...
Read more >
react-native-unimodules - npm
Start using react-native-unimodules in your project by running `npm i react-native-unimodules`. ... 0.10.1 • Public • Published 3 years ago.
Read more >
Announcing React Native 0.70
... Hermes as default engine, and full CMake support for Android builds along with a refresh of the documentation for the New Architecture....
Read more >
Modal component is undefined in react-native 0.10.1
I don't where you're requiring the modal module. Make sure you npm install and include the below line in your js file. require...
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