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.

RN 0.43 upgrade error ReactComponentWithPureRenderMixin

See original GitHub issue

Description

error: bundling: UnableToResolveError: Unable to resolve module react/lib/ReactComponentWithPureRenderMixin from C:\project\node_modules\react-addons-pure-render-mixin\index.js: Module does not exist in the module map or in these directories: C:\project\node_modules\react\lib

Reproduction Steps and Sample Code

After Upgrade from 0.42 to 0.43 we receive the following error. Requested file does not exist on node_modules. We have clear node_modules and run “npm install” We are using “react”: “16.0.0-alpha.6”

Additional Information

  • React Native version: 0.43
  • Platform: Android
  • Development Operating System: Windows
  • Dev tools: -

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:26 (7 by maintainers)

github_iconTop GitHub Comments

9reactions
stefan0scommented, Apr 6, 2017

It seems that “react-native-router-flux” cause the problem to me because it has dependency with “react-addons-pure-render-mixin”

6reactions
theohdvcommented, Apr 26, 2017

@itinance have you tried with "react": "16.0.0.-alpha.3" instead of "react": "16.0.0.-alpha.9" ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

error: Unable to resolve module `react/lib ...
Install the npm package https://www.npmjs.com/package/react-addons-pure-render-mixin published by gaeron. Then create following path.
Read more >
React Native常见报错解决整理 - CSDN博客
2、react-native upgrade,一路y,最后提示Successfully upgraded this project to react-native v0.55.4;. 报错7: FAILURE: Build failed with an ...
Read more >
错误:找不到模块“react/lib/reactcomponenttreehook”, 无法解析模块 ...
当我在本地运行jest 时它工作正常,但在构建服务器上它失败了: Error: Cannot find ... RN 0.43.0 出错无法解析模块“react/lib/ReactComponentWithPureRenderMixin”。
Read more >
React Native常見報錯解決整理 - 台部落
error : bundling failed: Error: Unable to resolve module ... 2、react-native upgrade,一路y,最後提示Successfully upgraded this project to ...
Read more >
RN 0.43 upgrade error ReactComponentWithPureRenderMixin ...
9 thoughts on “RN 0.43 upgrade error ReactComponentWithPureRenderMixin” ... When you upgrade,it will upgrade react version too.now it is using react version 16....
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