Skip to content

Error unable to resolve path to module. eslint import/no-unresolved but only in VSCode, not in ESLint CLI #1994

Open
@alexleboucher

Description

@alexleboucher

I upgraded the package eslint-import-resolver-typescript from 3.7.0 to 4.2.1 and VSCode ESLint shows errors unable to resolve path to module. eslint import/no-unresolved on my imports.

Image

I created an issue on the eslint-import-resolver-typescript repo (import-js/eslint-import-resolver-typescript#396) but as the error is related to VSCode and not ESLint CLI, the main contributor suggested me to create an issue on your repository.
The package uses a napi module: rspack-resolver under the hood.

You can easily reproduct the issue by cloning my project : docker-express-postgres-boilerplate and upgrading the library eslint-import-resolver-typescript

Metadata

Metadata

Assignees

No one assigned

    Labels

    info-neededIssue requires more information from poster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions