You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to resolve module react/lib/ReactDebugCurrentFrame from ....\node_modules\react-native\Libraries\Renderer\src\renderers\shared\stack\reconciler\ReactCompositeComponent.js: Module does not exist in the module map or in these directories:
...\node_modules\react\lib
When I update to 0.43.0 - rc. 1 version npm WARN react-native@0.43.0-rc.1 requires a peer of react@~16.0.0-alpha.3 but none was installed. npm install -save react@~16.0.0-alpha.3
To solve the problem
@droidwolf, where can I find the newest version of react and react-native such as react@~16.0.0-alpha.3 and react-native@0.43.0-rc.1 , I only can find 0.42.3
I got that error as well on react ^15.4.2 and react-native 0.43, but upgrading to 16.0.0-alpha.6 fixed it. So id say.. stay away from 0.43 or use react 16.0.0-alpha.6
Seems that RN 0.43 shouldn't made it out of the door in this stage, particularly when essential Components like ListView got deprecated as 0.43 is not ready for serious usage yet.
This is a library issue, restarting xcode, cleaning your build, clearing npm cache and running react-native run-ios fixes the issue. Not sure which one ... I really hate node libraries sometimes.
Activity
gold-duo commentedon Mar 19, 2017
When I update to 0.43.0 - rc. 1 version
npm WARN react-native@0.43.0-rc.1 requires a peer of react@~16.0.0-alpha.3 but none was installed.
npm install -save react@~16.0.0-alpha.3
To solve the problem
tigerohuang commentedon Apr 1, 2017
@droidwolf, where can I find the newest version of react and react-native such as react@~16.0.0-alpha.3 and react-native@0.43.0-rc.1 , I only can find 0.42.3
gold-duo commentedon Apr 1, 2017
https://github.com/facebook/react-native/releases
ivanzotov commentedon Apr 4, 2017
+1
wilomgfx commentedon Apr 4, 2017
I got that error as well on react ^15.4.2 and react-native 0.43, but upgrading to 16.0.0-alpha.6 fixed it. So id say.. stay away from 0.43 or use react 16.0.0-alpha.6
itinance commentedon Apr 15, 2017
Seems that RN 0.43 shouldn't made it out of the door in this stage, particularly when essential Components like ListView got deprecated as 0.43 is not ready for serious usage yet.
callmetwan commentedon May 3, 2017
I was also having trouble upgrading. I decided to start a brand new project and migrate things over as a last resort.
I get @droidwolf's error on init of a brand new project, not changing a single thing.
I'm on the latest version of MacOS and Xcode. What else am I missing?
EDIT: I restarted the simulator (not the packager, but the simulator) and everything seems to work now. sigh
digitaldavenyc commentedon May 12, 2017
This is a library issue, restarting xcode, cleaning your build, clearing npm cache and running
react-native run-ios
fixes the issue. Not sure which one ... I really hate node libraries sometimes.jose2007kj commentedon Aug 25, 2017
"react": "16.0.0-alpha.6",
this version got me working