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.

Unable to resolve create-react-class from native-base

See original GitHub issue

node, npm, react-native, react and native-base version, expo version if used

Node: 8.11.14 npm: 5.6.0 react-native-cli: 2.0.1 react-native: 0.55.4 native-base: 2.7.2

Expected behaviour

Apps build.

Actual behaviour

I got the error: https://i.imgur.com/CBkU63n.png

Steps to reproduce should include code snippet and screenshot. Include code snippet in preformatted mode (code)

Is the bug present in both iOS and Android or in any one of them?

Any other additional info which would help us debug the issue quicker.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
orlandovallejoscommented, Aug 25, 2018

I fixed it by adding that dependency:

npm i --save create-react-class

But I guess we need to find a better solution

2reactions
ttibaucommented, Aug 28, 2018

@SupriyaKalghatgi npm install create-react-class solved my issue. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

unable to resolve module create-react-class - Stack Overflow
I am new to react native. After implementing native-base in my project, I am getting this error: enter image description here.
Read more >
create-react-class - npm
Start using create-react-class in your project by running `npm i create-react-class`. There are 1713 other projects in the npm registry ...
Read more >
Installation - NativeBase
Refer the guides shown below to setup NativeBase in your React app. ... Follow this guide to install NativeBase in your existing or...
Read more >
ReactNativeにNativeBaseを導入してUIを整える
サンプルを示してくれ!!!! Error: Unable to resolve module create-react-class. Loading dependency graph, done. error: bundling failed: Error ...
Read more >
Chore: Upgrade to React Native 0.63.3 · 362680fafd - fieldnotes
signature-verification-failure=warn. deprecated-utility=error ... resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.6.3.tgz# ...
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