Skip to content

Error: Unable to resolve module ./Libraries/Components/AccessibilityInfo/AccessibilityInfo from node_modules/react-native/index.js #575

Closed

Description

Environment

  1. react-native -v: 0.63.2
  2. npm ls react-native-macos: ^0.62.0-0
  3. node -v: v12.14.1
  4. npm -v: 6.14.7
  5. yarn --version: 1.22.4
  6. xcodebuild -version: Xcode 11.3.1 Build version 11C505

Issue

Steps to Reproduce

I followed the basic steps provided in react-native-macos docs

  1. npx react-native init
  2. cd
  3. npx react-native-macos-init
  4. npx react-native start
  5. npx react-native run-macos

Expected Behavior

It should have launched properly , like a basic untouched react-native-macos app

Actual Behavior

Screen Shot 2020-09-03 at 3 11 17 PM

Reproducible Demo

You can just follow the steps above.

Activity

  1. abhisheksahdev commented on Sep 11, 2020

    @abhisheksahdev
    Author

    when is it supposed to go live ?

  2. acoates-ms commented on Sep 16, 2020

    @acoates-ms

    Can you try this with react-native-macos 0.62.11?

  3. abhisheksahdev commented on Sep 16, 2020

    @abhisheksahdev
    Author

    let me check @acotes-ms

  4. ghost added
    Needs: Attention 👋
    on Sep 16, 2020
  5. abhisheksahdev commented on Sep 16, 2020

    @abhisheksahdev
    Author

    It works but not with the command from the react-native-docs (npx react-native run-macos)

    Instead it works when we start the metro server and app separately as -

    yarn start:macos
    npx react-native run-macos

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

    Needs: Attention 👋

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions