jina-ai / dev-gpt

Your Virtual Development Team

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: frontend dependency conflict

alexcg1 opened this issue · comments

On running npm install I get this error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: microchain-frontend@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"^18.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from @material-ui/core@4.12.4
npm ERR! node_modules/@material-ui/core
npm ERR!   @material-ui/core@"^4.12.4" 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/alexcg/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/alexcg/.npm/_logs/2023-03-21T09_45_23_997Z-debug-0.log

Here's the error log:
2023-03-21T09_45_23_997Z-debug-0.log

It installs if I use npm i --legacy-peer-deps, but then I get a new issue after I run npm start

Thanks, now we removed the frontend