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

Resolve error: unable to load resolver "node". #8

Open
sebald opened this issue Jan 31, 2019 · 4 comments
Open

Resolve error: unable to load resolver "node". #8

sebald opened this issue Jan 31, 2019 · 4 comments

Comments

@sebald
Copy link

sebald commented Jan 31, 2019

If eslint-plugin-import is not installed the plugin will throw the following error:

Resolve error: unable to load resolver "node".  monorepo/no-relative-import

when trying to resolve an import statement.

I not sure why installing eslint-plugin-import solves this issue (maybe incompatible with @typescript-eslint?). Is there a better way to fix this?

@azz
Copy link
Owner

azz commented Jan 31, 2019

Would you be able to make a minimal repo to reproduce this issue?

@sebald
Copy link
Author

sebald commented Feb 1, 2019

Of course! Here you go: https://github.com/sebald/eslint-plugin-monorepo-typescript

I noticed that I haven't mentioned that we are using @typescript-eslint. Sorry about that ☹️ I guess this is an incompatibility with the plugin?

@ghost
Copy link

ghost commented May 1, 2019

Yeah i met the exactly same issue. Using @typescript-eslint as well.

@kwelch
Copy link

kwelch commented Jun 14, 2019

I can confirm this worked properly after adding in the eslint-plugin-import. We had not configured that plugin, but we will use it eventually, so not terrible, but slightly unfortunate.

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