Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Missing peer dependency eslint #137

Open
mainrs opened this issue Feb 11, 2021 · 0 comments
Open

Missing peer dependency eslint #137

mainrs opened this issue Feb 11, 2021 · 0 comments

Comments

@mainrs
Copy link

mainrs commented Feb 11, 2021

When using yarn v2, I get the following warning:

$ yarn
➤ YN0002: │ eslint-plugin-nuxt@npm:2.0.0 doesn't provide eslint (p4e478), requested by vue-eslint-parser
➤ YN0002: │ eslint-plugin-nuxt@npm:2.0.0 doesn't provide eslint (pe0984), requested by eslint-plugin-vue

Getting more information on the hash:

$ yarn explain peer-requirements p4e478
➤ YN0000: eslint-plugin-nuxt@npm:2.0.0 doesn't provide eslint, breaking the following requirements:
➤ YN0000: vue-eslint-parser@npm:7.4.1 [2a062] → >=5.0.0 ✘

$ yarn explain peer-requirements pe0984
➤ YN0000: eslint-plugin-nuxt@npm:2.0.0 doesn't provide eslint, breaking the following requirements:
➤ YN0000: eslint-plugin-vue@npm:7.5.0 [2a062] → ^6.2.0 || ^7.0.0 ✘

I am not sure what the right thing to do here is. eslint is already specified in devDependencies and as far as I know you can't specify a dependency again in peer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant