Skip to content

ESLint reports Unable to resolve path to module errors when using the modular admin SDK #1359

Answered by hiranya911
sceee asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like import/no-unresolved is part of a custom ESLint plugin. I had to install the NPM package eslint-plugin-import, and add plugin:import/recommended to the ESLint config file for the rule to activate. With these config changes I'm able to reproduce the errors mentioned above.

But I believe this is a bug/limitation in eslint-plugin-import (see import-js/eslint-plugin-import#1868). The code is indeed valid, and compiled by tsc. VSCode can also successfully resolve the module entry points.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@sceee
Comment options

@tettoffensive
Comment options

@sergeushenecz
Comment options

Answer selected by sceee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants