Skip to content

POD ERROR #2211

Closed
Closed

Description

@Ehsan-Nawaz-Dev

Discussed in #2210

Originally posted by redrose4y293 December 17, 2023
Can Anyone help me this error i search a lot but got nothing about this error my react-native version is 0.70.0 its show this error when i install a fresh and latest version metro doesn't start automatically my OS is windows 10

error

Activity

  1. szymonrybczak commented on Dec 17, 2023

    @szymonrybczak
    Collaborator

    Hey @redrose4y293, that's because you initialised project with the newest CLI on older React Native version. So for now there are two workarounds for this:

    1. Remove node_modules, and reinstall and that should download new CLI from react-native's resolution from package.json, if this still fails you should simply create a new project with npx react-native@0.70 init app --version 0.70, btw if that's new project you should use the newest React Native version, because 0.70 will be soon not supported!
    2. Not recommended: delete automaticPodsInstallation field from react-native.config.js file.
  2. szymonrybczak commented on Jan 2, 2024

    @szymonrybczak
    Collaborator

    @redrose4y293 any updates? :)

  3. Ehsan-Nawaz-Dev commented on Jan 2, 2024

    @Ehsan-Nawaz-Dev
    Author

    I try all the suggestion and search all stack overflow but nothing happen

  4. szymonrybczak commented on Jan 3, 2024

    @szymonrybczak
    Collaborator

    Please @redrose4y293 just run npx react-native@latest init project and it should work :)

  5. Ehsan-Nawaz-Dev commented on Jan 6, 2024

    @Ehsan-Nawaz-Dev
    Author

    Thanks for your support. A full day I spent on react native doc and found the solution can I get your WhatsApp number for better reach and get some knowledge

  6. szymonrybczak commented on Jan 7, 2024

    @szymonrybczak
    Collaborator

    I'm happy that it worked, if you have any other problems with CLI, or React Native just create issue in proper place :)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions