Unable to resolve dependency tree error when installing npm packages - legacy peer deps flag

preview_player
Показать описание
Join this channel to get access to perks:

My Gear



My Youtube Channels


My Wife's Channel

Websites

Connect with me
Рекомендации по теме
Комментарии
Автор

The legacy peer deps flag is not fixing the error, it's simply ignoring it and may result in broken dependencies.

danieldouglas
Автор

That’s not actually fixed though, you just told the program to ignore it, the problem is still there

georgealmonte
Автор

Can't you fix this error without using the --force or --legacy-peer-deps because for every solution that I will see either they use --force or --legacy-peer-deps

codingcanchangeyourlife
Автор

Hi we have some vulnerabilities list and want to update to recommend version from black-duck report ..how to update them?

umeshsuggala
Автор

actually earlier i was just simplu using --legacy-peer-deps witout actuallu knowing behind the scenes. thank for explaning it well

lokeshnegi
Автор

can you please fix without using --force or --legacy-peer-deps?

amracethakur
Автор

Thanks..it was really helpful and saved my lots and lots of time and effort 🙏

alishmadhukar
Автор

Thanks for the video really helped me understand this error better

journeygault
Автор

instead use npm config set legacy-peer-deps true (inside project folder the error will be gone permanently)

abhishekyaduvanshi
Автор

use of --force or --legacy-peer-deps options is a bad idea, just hide the problem, but not fix it

rmfigue
Автор

please try not to give temporary solution, every we prepare build for production it will give error

abhishekyadav-dejj
Автор

how do i see the commnad if your head is in front of it ?

paulohenriquekloster
Автор

I did not understand what code you put in the terminal.
your face was blocking the screen

clearmuzik.
Автор

Thanks any, please forgive my illiteracy

clearmuzik.
Автор

worst too worst you can easily add --legacy-peer-deps

CodeWithAffan
Автор

That's a work around but how do you actually fix it?

powninfinity
Автор

Keep ur head aside bro
To view the code😅

saisharaththumma