Skip to content

eslint 8 throwing error in CI #2594

@snewcomer

Description

@snewcomer

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

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.

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