Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed as not planned
Labels
Milestone
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I havesearched for related issues and found none that matched my issue.
- I haveread the FAQ and my problem is not listed.
Relevant Package
parser
Playground Link
No response
Repro Code
eslint--resolve-plugins-relative-to/my/path/to/--no-eslintrc--config/config/path/to/eslint-config.jsonexample.js
ESLint Config
{"plugins": ["@typescript-eslint" ],"parser":"/my/path/to/@typescript-eslint/parser","parserOptions": {"ecmaVersion":13,"sourceType":"script","ecmaFeatures": {"globalReturn":false,"jsx":false },"project": ["/config/path/to/tsconfig.tmp.json" ] },"extends": ["plugin:@typescript-eslint/recommended-type-checked" ]}tsconfig
No response
Expected Result
Should work
Actual Result
Error: Failed to load parser '/my/path/to/@typescript-eslint/parser' declared in '--config': Cannot find module '/my/path/to/@typescript-eslint/parser'
Additional Info
With 5.62.0 (and before) it works perfectly fine.
However with 6.0.0 it fails.
The package @typescript-eslint/parser is there, is accessible (correct permissions) and also shows perfectly fine when checking withnpm list.
I spent hours today thinking it was a bug in eslint, but it turns out it's not, and I am stuck at a dead-end.
I'd really appreciate if you could fix this!
Versions
| package | version |
|---|---|
@typescript-eslint/eslint-plugin | 6.0.0 |
@typescript-eslint/parser | 6.0.0 |
TypeScript | 5.1.4 |
ESLint | 8.45.0 |
node | 16.19.1 |