Error when trying to install Homarr
Hello every time i try to do "npm install" i get there Error Code:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
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.14.0 < 18.0.0" from @nivo/[email protected]
npm ERR! node_modules/@nivo/core
npm ERR! @nivo/core@"^0.79.0" from the root project
npm ERR! peer @nivo/core@"0.79.0" from @nivo/[email protected]
npm ERR! node_modules/@nivo/tooltip
npm ERR! peer @nivo/tooltip@"0.79.0" from @nivo/[email protected]
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 /root/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-01-25T11_16_33_108Z-debug.log
I tried but to my Surprize i got every thing wrong but i would use docker but i dont want to use docker i try to get every thing in Baremetal.
Do somebody know the Problem?
3 Replies
Can you try with yarn?
Yeah goes trouh but just if i install nodejs and install yarn over npm
Yes, that's what you should do
So with yarn it works?
If yes, I would just go with yarn