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.

Error loading up after upgrade to 0.43

See original GitHub issue

Error loading up the app after upgrading to 0.43

After upgrading to 0.43 from 0.42.3 I get this error shown below. I have tried all suggestions from error message but none fixed the problem.

error: bundling: UnableToResolveError: Unable to resolve module react/lib/ReactComponentWithPureRenderMixin from ../app/node_modules/react-navigation/src/views/Header.js: Module does not exist in the module map or in these directories: /app/node_modules/react/lib

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 packager cache: rm -fr $TMPDIR/react-* or npm start --reset-cache. at p.catch.error (/app/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:366:19) at process._tickCallback (internal/process/next_tick.js:109:7) Bundling index.android.js 99.2% (509/511), failed.

Please note that I have tried this in both Ubuntu 16.10 and Windows 10. This is how my package.json changed:

  • “react”: “15.4.2”,
  • “react-native”: “0.42.3”,
  • “react”: “^16.0.0-alpha.6”,
  • “react-native”: “^0.43.0”,

Reproduction Steps and Sample Code

I had NO conflicts during upgrade

I followed the suggested way to upgrade:

  1. npm install -g react-native-git-upgrade
  2. react-native-git-upgrade
  3. react-native start
  4. react-native run-android

Solution

I don’t have a solution. I have navigated in the folder in question and I can see that Header.js exists.

The only thing that I can think of is creating a new app and moving over my src/ to the new project. Obviously I don’t want to have to do that every time there is a new version.

Additional Information

  • React Native version: [^0.43.0]
  • Platform: [Android]
  • Development Operating System: [Ubuntu 16.10, Windows 10]
  • Dev tools: [IntelliJ IDEA Ultimate 2017.1, VSCode, Android SDK 23]

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:16
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

17reactions
mikehobicommented, Apr 5, 2017

It seems odd to me that 0.43, a stable version of react-native, depends on a potentially unstable alpha version of react

10reactions
qpowellcommented, Apr 7, 2017

@joemckie True, but:

screen shot 2017-04-07 at 1 45 14 pm

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native 0.43 upgrade error · Issue #13309 - GitHub
Description When my project upgrade to React Native 0.43,hint errors as follow: ├── UNMET PEER DEPENDENCY react@15.4.2 ...
Read more >
key "A6234074498E9CEE" could not be looked up remotely ...
error : key "A6234074498E9CEE" could not be looked up remotely error: required key missing from keyring error: failed to commit transaction ( ...
Read more >
Apps fail to start up after upgrading to Confluence 7.10 or later
After upgrading to Confluence 7.10, you see a message that a number of your apps failed to start up. Cause. In Confluence 7.10...
Read more >
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43 - IBM
WebSphere Application Server V7 now offers web server load balancing and failover for up to 5 licensed application servers and a new merge...
Read more >
Bug listing with status RESOLVED with resolution FIXED as at ...
... Bug:137 - "Updated PyXML ebuild to 0.7" status:RESOLVED resolution:FIXED ... give error about Makefile.pre.in not having boot target" status:RESOLVED ...
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