-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript 3.9.2: Error: Failed to load config "xo-typescript" to extend from #483
Comments
Getting this error with XO v0.32.0 and TypeScript v3.8.3. Upgrading to TypeScript v3.9.3 fixed the error. |
I was having this issue with Typescriot v3.8.3, upgrading to v3.9.7 now gives the same error but with:
|
Getting this same error with TypeScript v4.0.2 |
This is almost certainly the same root cause as why having a different Prettier version breaks. However XO is importing or using other modules isn't resilient to version changes and seems to force you to use whatever version is specified in the XO |
I'm also having this issue with TypeScript v4.0.2 EDIT: resolved temporarily adding packages manually as suggested from this comment #454 (comment) |
|
Reason is this: When ESLint loads an extended shareable config it does so relative to the file it is imported from:
Within And here's the core: In It loads using So what happens is:
Solution? Not really sure. Maybe one of:
|
I think XO v0.46.x fixed this issue by using |
This might be an issue with the XO CLI, not sure though.
The text was updated successfully, but these errors were encountered: