eslint 8 throwing error in CI
envgap__import-js__eslint-plugin-import-2594
01 / FAILURE SIGNATURE
As reported upstream
Error: Error while loading rule 'import/no-unused-modules': Failed to load plugin 'import' declared in '.eslintrc': Cannot find module '/home/runner/work/eslint-plugin-import/eslint-plugin-import/node_modules/eslint-plugin-import/lib/index.js'. Please verify that the package.json has a valid "main" entry
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
6a9d6f2a6da8c8d8b84b13a7505562f6bc88fa1a- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
import-js/eslint-plugin-import #2594 · read the original issue
> Error: Error while loading rule 'import/no-unused-modules': Failed to load plugin 'import' declared in '.eslintrc': Cannot find module '/home/runner/work/eslint-plugin-import/eslint-plugin-import/node_modules/eslint-plugin-import/lib/index.js'. Please verify that the package.json has a valid "main" entry > Occurred while linting /home/runner/work/eslint-plugin-import/eslint-plugin-import/tests/files/just-json-files/invalid.json [71](https://github.com/import-js/eslint-plugin-import/actions/runs/3449533983/jobs/5757534657#step:5:72) See https://github.com/import-js/eslint-plugin-import/actions/runs/3449533983/jobs/5757534657#step:5:66 Happened within the last 4 days. Last versioned release of eslint was 8 days ago. Node also release 8 days ago.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]