Skip to content

Unable to resolve module react/lib/ReactDebugCurrentFrame #13017

Closed
@gold-duo

Description

@gold-duo

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

Activity

gold-duo

gold-duo commented on Mar 19, 2017

@gold-duo
Author

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

tigerohuang commented on Apr 1, 2017

@tigerohuang

@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

ivanzotov

ivanzotov commented on Apr 4, 2017

@ivanzotov
Contributor

+1

wilomgfx

wilomgfx commented on Apr 4, 2017

@wilomgfx

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

itinance commented on Apr 15, 2017

@itinance
Contributor

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

callmetwan commented on May 3, 2017

@callmetwan

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

digitaldavenyc commented on May 12, 2017

@digitaldavenyc

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

jose2007kj commented on Aug 25, 2017

@jose2007kj

"react": "16.0.0-alpha.6", this version got me working

locked as resolved and limited conversation to collaborators on May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ivanzotov@digitaldavenyc@callmetwan@itinance@gold-duo

        Issue actions

          Unable to resolve module `react/lib/ReactDebugCurrentFrame` · Issue #13017 · facebook/react-native