infinitered / infinitered/solidarity-react-native

Getting error with react-native cli line 2

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Hi all,

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

Getting the following error with exit code 2

Error section
```json
{
"rule": "cli",
"binary": "react-native",
"semver": "0.0.0",
"line": 2
}
```

full `.solidarity` file
```json
{
"$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"
}
]
}
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the .solidarity configuration shown in the report and reproduce the exit code 2 for the React Native CLI requirement containing "line": 2. Trace how that requirement is interpreted and determine what the line value refers to; done should be a clear explanation or a confirmed correction for this configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
cli, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.