Eslint v7 is incompatible with node 8 and eslint-plugin-import
envgap__yargs__yargs-1669
01 / FAILURE SIGNATURE
Captured in a clean container
npm error code ERESOLVE
02 / ENVIRONMENT RECIPE
- Base commit
18c2efdefd517dc6ec4a9c007acfc42eeadb1c26- Manifest
package.json- Reproduce
npm install --before=2020-06-06T17:41:55Z- Run under trace
node -e "const p=require('./package.json'); require(p.main||'.'); console.log(p.name)"
Reference environment fix used for admission
diff --git a/package.json b/package.json
index fa136a8..d35a6ea 100644
--- a/package.json
+++ b/package.json
@@ -46,7 +46,7 @@
"cpr": "^3.0.1",
"cross-spawn": "^7.0.0",
"es6-promise": "^4.2.5",
- "eslint": "^7.0.0",
+ "eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.0.0",
"gts": "^2.0.0-alpha.4",03 / ORIGINAL ISSUE TEXT
yargs/yargs #1669 · read the original issue
@bcoe Due to #1656, we have warnings now in `npm install` as `eslint-plugin-import` is not yet compatible with eslint v7: ```bash npm WARN eslint-plugin-react@7.14.3 requires a peer of eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN eslint-plugin-import@2.20.1 requires a peer of eslint@2.x - 6.x but none is installed. You must install peer dependencies yourself. ``` Nothing seems to be broken in linting however. Upgrading to `eslint-plugin-import@2.20.2` does not change anything.
04 / LABELS
Labels checked by running the task · needs human review
misspecificationLabel rules and the text that matched
[
{
"category": "misspecification",
"rule": "signature.unresolvable_declared_requirement",
"source": "failure_signature",
"excerpt": "npm error code ERESOLVE"
},
{
"category": "misspecification",
"rule": "diff.changes_existing_manifest_line",
"source": "manifest_diff:package.json",
"excerpt": "- \"eslint\": \"^7.0.0\",\n+ \"eslint\": \"^6.8.0\","
}
]Mined from a merged pull request linked to the issue whose changed files are all environment files.
The base commit is the pull request's base, not the dated default-branch commit; the registry is pinned to the merge date so the pull request's own pins resolve.
Default commands from envgap default-recipe synthesizer v1; gold_files are the pull request's environment diff.
Preparation uses current registries. Historical package availability is not enforced here; execution metadata records this limitation separately from the oracle's date-bounding policy.