Skip to content

/node_modules/react-native/scripts/../Libraries. No such file or directory. Command PhaseScriptExecution failed with a nonzero exit codeΒ #31228

@himu243

Description

@himu243

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

Creating new react-native project on MacBook Pro M1 chip. Getting this error while running the code in XCodel

React Native version:

MacBook Pro M1 Chip
"react": "17.0.1",
"react-native": "0.64.0"

Steps To Reproduce

  1. npx react-native init NewProject
  2. npx pod-install ios
  3. Run App either by npx react-native run-ios OR from Xcode Directly.

Expected Results

App should compile up successfully

Snack, code example, screenshot, or link to a repository:

Screenshot 2021-03-24 at 4 08 10 PM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions