Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug?]: ESLint couldn't find the plugin "@redwoodjs/eslint-plugin". #8789

Closed
1 task
razzeee opened this issue Jun 30, 2023 · 3 comments
Closed
1 task

[Bug?]: ESLint couldn't find the plugin "@redwoodjs/eslint-plugin". #8789

razzeee opened this issue Jun 30, 2023 · 3 comments
Labels
bug/confirmed We have confirmed this is a bug

Comments

@razzeee
Copy link
Contributor

razzeee commented Jun 30, 2023

What's not working?

After upgrading to 5.4.0, due to our renovate, it fails, when running the linting.

There were no migration steps mentioned in https://github.com/redwoodjs/redwood/releases/tag/v5.4.0

yarn rw lint
=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <5.1.0

YOUR TYPESCRIPT VERSION: 5.1.3

Please only submit bug reports when using the officially supported version.

=============

Oops! Something went wrong! :(

ESLint: 8.43.0

ESLint couldn't find the plugin "@redwoodjs/eslint-plugin".

(The package "@redwoodjs/eslint-plugin" was not found when loaded as a Node module from the directory "/home/klampe/dev/slashskills".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

    npm install @redwoodjs/eslint-plugin@latest --save-dev

The plugin "@redwoodjs/eslint-plugin" was referenced from the config file in "package.json » @redwoodjs/eslint-config#overrides[2]".

If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.

Command failed with exit code 2: yarn eslint web/src web/config scripts api/src

How do we reproduce the bug?

  1. Upgrade an existing project
  2. Run yarn rw lint

Not sure if that's all what's needed or if there is more at play here.

What's your environment? (If it applies)

System:
    OS: Linux 6.3 Fedora Linux 38 (Workstation Edition)
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 18.16.0 - /tmp/xfs-5b42eaf6/node
    Yarn: 3.6.0 - /tmp/xfs-5b42eaf6/yarn
  Databases:
    SQLite: 3.40.1 - /usr/bin/sqlite3
  npmPackages:
    @redwoodjs/auth-custom-setup: 5.4.0 => 5.4.0 
    @redwoodjs/core: 5.4.0 => 5.4.0

Are you interested in working on this?

  • I'm interested in working on this
@razzeee razzeee added the bug/needs-info More information is needed for reproduction label Jun 30, 2023
@jtoar jtoar added bug/confirmed We have confirmed this is a bug and removed bug/needs-info More information is needed for reproduction labels Jun 30, 2023
@jtoar
Copy link
Contributor

jtoar commented Jun 30, 2023

@razzeee thanks! I just released a patch that fixes the issue locally for me: https://github.com/redwoodjs/redwood/releases/tag/v5.4.1. Could you confirm when you get the chance?

@razzeee
Copy link
Contributor Author

razzeee commented Jun 30, 2023

Already out for the weekend, will have to check on monday :/

@razzeee
Copy link
Contributor Author

razzeee commented Jul 3, 2023

Our pipelines build fine again, thx

@razzeee razzeee closed this as completed Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/confirmed We have confirmed this is a bug
Projects
None yet
Development

No branches or pull requests

2 participants