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

Failed to load parser with eslint_d #221

Closed
PaulKushch opened this issue Oct 22, 2022 · 5 comments
Closed

Failed to load parser with eslint_d #221

PaulKushch opened this issue Oct 22, 2022 · 5 comments

Comments

@PaulKushch
Copy link

Hi!

I started getting this error for all imports with eslint_d version 12.2.1 (in tsx/js files):

image

Anyone else having the same issue and maybe some solution?

Best regards

@mantoni
Copy link
Owner

mantoni commented Oct 23, 2022

Die you try eslint_d restart already?

@PaulKushch
Copy link
Author

@mantoni I use neovim (Astronvim) and dont know if it is possible to reload that way?

When I source luafile (:luafile %) I get that error with eslint_d while doing a standard import (but eslint-lsp works fine):
image

@mantoni
Copy link
Owner

mantoni commented Oct 24, 2022

You can run eslint_d restart from your command line. It will kill and relaunch the daemon process. It usually fixes issues around parser loading.

@Nargonath
Copy link

Nargonath commented Nov 9, 2022

I had a totally unrelated problem as well. Eslint_d couldn't load some internals dependencies of eslint-config-next something in the vein of cannot load plugin: @next/next. Just in case someone finds his way into this issue as well, eslint_d restart did the job and fixed the problem.

Thanks @mantoni.

@mantoni
Copy link
Owner

mantoni commented Jul 28, 2024

This is probably obsolete with the new major v14.0.0 (see #294). Should you're still having the issue, please write here and I'm happy to re-open.

@mantoni mantoni closed this as completed Jul 28, 2024
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

3 participants