You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm ERR! peer dep missing: babel-eslint@^7.0.0, required by eslint-config-react-app@0.6.2
npm ERR! peer dep missing: eslint@^3.16.1, required by eslint-config-react-app@0.6.2
npm ERR! peer dep missing: eslint@>=1.6.0 <4.0.0, required by eslint-loader@1.6.0
npm ERR! peer dep missing: eslint-plugin-jsx-a11y@^2.0.0 || ^3.0.0 || ^4.0.0, required by eslint-config-react-app@0.6.2
npm ERR! peer dep missing: eslint-plugin-react@^6.4.1, required by eslint-config-react-app@0.6.2
but updating the versions of the requirements just lead to contradicting requirements by other packages.
I tried removing all packages, and starting with just installing eslint, babel-eslint, and eslint-config-airbnb, and then ran npm info "eslint-config-airbnb@latest" peerDependencies to install dependencies, but I still seem to be having this issue.
If npm ls can not be made to pass, then the configuration of deps you’re trying to use is impossible.
Specifically, CRA often imposes very specific peer dep requirements on its users. You’re also using an ancient CRA version that requires an ancient eslint - v3, when it’s on v6. eslint-loader also is requiring up to eslint 4, which is also years obsolete.
I have tried following the solutions in https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/232, but the list that I get from running
npm ls
is the following:but updating the versions of the requirements just lead to contradicting requirements by other packages.
I tried removing all packages, and starting with just installing eslint, babel-eslint, and eslint-config-airbnb, and then ran
npm info "eslint-config-airbnb@latest" peerDependencies
to install dependencies, but I still seem to be having this issue.The following is my dev dependencies:
and this is what my eslintrc file looks like
Any help would be appreciated, thank you.
The text was updated successfully, but these errors were encountered: