Binaryify / OneDark-Pro

Atom's iconic One Dark theme for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme
MIT License
1.5k stars 290 forks source link

unable to resolve dependency tree #762

Closed myaaghubi closed 1 year ago

myaaghubi commented 1 year ago

I'm trying to build the project but it seems to have dependency issues

$ npm i      
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: material-theme@3.15.5
npm ERR! Found: @typescript-eslint/parser@4.33.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   peer @typescript-eslint/parser@"^4.0.0" from @typescript-eslint/eslint-plugin@4.33.0
npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     dev @typescript-eslint/eslint-plugin@"4.33.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @typescript-eslint/parser@">= 5" from @mskelton/eslint-config@7.1.0
npm ERR! node_modules/@mskelton/eslint-config
npm ERR!   dev @mskelton/eslint-config@"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 /home/semiclone/.npm/eresolve-report.txt for a full report.
myaaghubi commented 1 year ago

I solved it via npm config set legacy-peer-deps true