RN 0.43 upgrade error ReactComponentWithPureRenderMixin
See original GitHub issueDescription
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:
- Created 6 years ago
- Reactions:7
- Comments:26 (7 by maintainers)
Top 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 >
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

It seems that “react-native-router-flux” cause the problem to me because it has dependency with “react-addons-pure-render-mixin”
@itinance have you tried with
"react": "16.0.0.-alpha.3"instead of"react": "16.0.0.-alpha.9"?