-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
Failed to load config "xo/esnext" to extend from #404
Comments
Unrelated note while inspecting my global install I noticed some |
0.25.2 does not have this issue. So it was introduced in the last version |
@rizowski Thanks for the suggestion however I just ran |
Oh my mistake. I have a similar error but it is around loading the plugin |
I'm experiencing this even when xo installed locally on a project. Is there a temporary fix? |
Same issue here :-( |
maybe related Can't load But only fails on CI https://travis-ci.org/sindresorhus/eslint-plugin-unicorn/jobs/595170571 |
yeah rolling back to |
I have the same issue, both with the latest version and with 0.25.2 |
Rolling back to |
Some testing around some of these base-config errors I've noticed that removing your |
Can reproduce, xo v0.28.0
PS: I use pnpm, and I tried removing node_modules and reinstalling, it is installed both locally and globally |
I ran into the same issue with a global xo installation. @coreyfarrell was right on point with his initial assessment:
To add another quote from ESLint's migration guide:
I got it to work after locally installing the required configs/plugins: npm i -D eslint-config-xo There are likely other missing packages, e.g. The reason why |
This comment was marked as duplicate.
This comment was marked as duplicate.
I occasionally have this bug when adding/removing dependencies. Usually deleting node_modules and the lock fixes it, but recently the error persisted until I updated all of the dependencies and tried again. Related: |
I haven't seen this in a while. The problem in any case it's not in XO but in npm and eslint. The solution is to do a fresh reinstall, without lockfile and node_modules. It will eventually be resolved with the flat config: |
I always keep
xo
installed globally so I can usually run lint without runningnpm install
on the local repo. This does not work for me after updating my global install to 0.25.3:This seems to be caused by eslint@6, see https://eslint.org/docs/user-guide/migrating-to-6.0.0#-plugins-and-shareable-configs-are-no-longer-affected-by-eslints-location
The text was updated successfully, but these errors were encountered: