I am building a wallet extension forking from this repoo.
After cloning this repo and trying to install npm modules
with npm i
, I met following error;
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: owallet@0.0.0
npm ERR! Found: eslint@6.8.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^6.2.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@">=7.0.0" from eslint-config-prettier@7.2.0
npm ERR! node_modules/eslint-config-prettier
npm ERR! dev eslint-config-prettier@"^7.1.0" 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 C:\Users\<USER_NAME>\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\<USER_NAME>\AppData\Local\npm-cache\_logs\2023-01-14T02_29_17_227Z-debug.log
I tried with yarn
but failed. I am not sure why this happens.
Please anybody who can help me with fixing this issue.