Skip to content

Getting error with react-native cli line 2 #41

@FrederickEngelhardt

Description

@FrederickEngelhardt

Hi all,

What does line 2 refer to in the react-native binary file?

Getting the following error with exit code 2

Error section

      {
        "rule": "cli",
        "binary": "react-native",
        "semver": "0.0.0",
        "line": 2
      }

full .solidarity file

{
  "$schema": "http://json.schemastore.org/solidaritySchema",
  "requirements": {
    "Node": [
      {
        "rule": "cli",
        "binary": "node",
        "semver": "12.16.3"
      }
    ],
    "Watchman": [
      {
        "rule": "cli",
        "binary": "watchman",
        "error": "Please install watchman on this machine. Refer to the official Watchman installation instructions for additional help.",
        "platform": ["darwin", "linux"]
      }
    ],
    "React Native": [
      {
        "rule": "cli",
        "binary": "react-native",
        "semver": "4.13.1"
      },
      {
        "rule": "cli",
        "binary": "react-native",
        "semver": "0.0.0",
        "line": 2
      }
    ],
    "Package JSON": [
      {
        "rule": "file",
        "location": "./package.json"
      }
    ],
    "NPM": [
      {
        "rule": "cli",
        "binary": "npm",
        "semver": "6.14.4"
      }
    ],
    "TypeScript": [
      {
        "rule": "cli",
        "binary": "tsc",
        "semver": "3.9.7"
      }
    ],
    "Yarn": [
      {
        "rule": "cli",
        "binary": "yarn",
        "version": "--version",
        "semver": "1.22.5"
      }
    ]
  }
}

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