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 with plugin #239

Open
Bogdan-Torkhov opened this issue Mar 19, 2023 · 6 comments
Open

Bug with plugin #239

Bogdan-Torkhov opened this issue Mar 19, 2023 · 6 comments

Comments

@Bogdan-Torkhov
Copy link

Have these bug: Error: Failed to load plugin '@typescript-eslint' declared in '.eslintrc.json': Cannot find module '@typescript-eslint/eslint-plugin'

@mantoni
Copy link
Owner

mantoni commented Mar 20, 2023

Usually this kind of error can be fixed with eslint_d restart. Have you tried?

@serranomorante
Copy link

Usually this kind of error can be fixed with eslint_d restart. Have you tried?

Amazing!

I had to use :terminal eslint_d restart from inside neovim.

Why does that worked?

@camin-mccluskey
Copy link

Not sure how common this issue is but I trip over it every single time I create a new Typescript project, leading to erroneous debugging of my eslint config. Might it be worth have a line in the README that calls out the necessity of restarting eslint_d on this error?

@mantoni
Copy link
Owner

mantoni commented Aug 15, 2023

@camin-mccluskey It's actually mentioned here: https://github.com/mantoni/eslint_d.js#what-if-eslint-or-a-plugin-is-updated. If you have ideas how to make that more clear, please feel free to suggest.

@camin-mccluskey
Copy link

Ah my bad! No this looks fine, I guess it would be helpful to explicit call out the error above but I appreciate it won't be the same for everyone using eslint_d. Happy to leave as is and hope this issues gets prioritised on Google for this error

@peterpme
Copy link

@Bogdan-Torkhov do you mind renaming this issue to: failed to load plugin '@typescript-eslint' declared in so that when folks look through the issues, this one comes up?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants