umami: eslint error for 1.24 - unable to install/build
Hi I tried to update to 1.24.0 and got a lot of errors from eslint … To find a solution, I tried to remove the umami folder, cleered the npm cache and start from the begining, but I still got a blocking error :
Firefly:~/umami$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: umami@1.24.0
npm ERR! Found: eslint@8.1.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^8.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^7.23.0" from eslint-config-next@12.0.1
npm ERR! node_modules/eslint-config-next
npm ERR! dev eslint-config-next@"^12.0.1" 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!
npm ERR! See /home/lufi/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/lufi/.npm/_logs/2021-11-22T08_24_11_235Z-debug.log
I’m not very familiar with npm.
Nodejs : v14.18.1 Debian 11.1
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 15 (3 by maintainers)
This should all be working now in v1.24.1.
Try this, https://nextjs.org/docs/api-reference/next.config.js/ignoring-eslint