Open
Description
I ran into the following error when trying to install eslint-plugin-primer-react
with a new react app initialized using vite.
$ npm install --save-dev eslint-plugin-primer-react
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^9.15.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^8.42.0" from [email protected]
npm ERR! node_modules/eslint-plugin-primer-react
npm ERR! dev eslint-plugin-primer-react@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
Will it be okay if we bump up the eslint dependency in eslint-plugin-primer-react
from 8
to 9
?