Can't install @typescript-eslint/eslint-plugin
Unanswered
Blue Picardy Spaniel posted this in #help-forum
Blue Picardy SpanielOP
When running
npm i -D @typescript-eslint/eslint-plugin I get the following error:npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: watchdog-website@0.1.0
npm ERR! Found: @typescript-eslint/parser@6.21.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR! @typescript-eslint/parser@"^5.4.2 || ^6.0.0" from eslint-config-next@14.1.4
npm ERR! node_modules/eslint-config-next
npm ERR! dev eslint-config-next@"14.1.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! dev @typescript-eslint/eslint-plugin@"*" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @typescript-eslint/parser@7.6.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR! peer @typescript-eslint/parser@"^7.0.0" from @typescript-eslint/eslint-plugin@7.6.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! dev @typescript-eslint/eslint-plugin@"*" from the root project2 Replies
Toyger
it's version conflict issue https://stackoverflow.com/a/76828917
you can try to install older version
you can try to install older version
npm i -D @typescript-eslint/eslint-plugin@6.21.0