question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

eslint-module-utils 2.5.1 broken

See original GitHub issue

Hey, when using eslint-module-utils 2.5.1, my eslint stops being able to resolve most imports. I receive lots of errors of this type:

1:1   error    Resolve error: unable to load resolver "node"    import/namespace

Pinning it at 2.5.0 makes all the errors go away. I won’t ass lots of logs here as I assume it’s something obvious. If it turns out to be more complicated, let me know and I’ll give a full description of my setup. This was tested both with eslint 5.16.0 and 6.8.0.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
jasonaowencommented, Jan 13, 2020

I can confirm that v2.5.2 fixes it for me! I was able to remove the explicit dependency on eslint-module-utils. Thank you for the wonderfully quick turnaround, @ljharb!

I’m sorry that I wasn’t able to get you a repro repo. I’m glad you were able to find a solution despite that.

2reactions
jasonaowencommented, Jan 11, 2020

By the way, thank you @ljharb for maintaining this tool and responding on the weekend! And @johanneswilm, thank you for opening this issue - it helped me figure things out more quickly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

eslint-module-utils 2.5.1 broken · Issue #1604
One of the changes in eslint-module-utils might cause dependencies that you previously were relying on being implicitly present to not be found.
Read more >
eslint-module-utils
Core utilities to support eslint-plugin-import and other module-related plugins.. Latest version: 2.7.4, last published: 2 months ago.
Read more >
Why (and How Can I FIx) ESLint import/no-extraneous ...
As for making a barrel file, that's exactly what lodash itself is (Lodash is a library of separate functions in one module): I'm...
Read more >
eslint-plugin-import
All the goodness that the ES2015+ static module syntax intends to provide, marked up in your editor.
Read more >
September 2021 Beta Release is Available!
TypeScript typings are currently broken. ... Migrate core/utils/xml.js to goog.module syntax (#5459) ... Fix eslint warning in core/utils/dom.js (#5256).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found