Closed
Description
As of v3.8.0 some of my imports aren't resolving. It still happens as of v3.8.2 and doesn't seem like it's related to #359 as there are no dot directories involved.
Instead, a crucial component seems to be that the file attempting to resolve the aliased dependency must be nested a few levels deep. I'm not sure exactly what the conditions are, but I created a reproduction repo showing that it works with less nesting, but not with more.
Reproduction repo: https://github.com/ehoogeveen-medweb/unresolved-repro
To reproduce:
- Clone the repo
- Run
npm ci
- Run
npx eslint .
Expected result:
No errors, as with version v3.7.0.
Actual result:
src/working.ts
gives no errorssrc/nested/broken.ts
gives errorUnable to resolve path to module 'ext/ua-parser.js'
Metadata
Metadata
Assignees
Labels
No labels