Heroku - ERESOLVE could not resolve | Fix the upstream peer dependency conflict

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

My Gear



My Youtube Channels


My Wife's Channel

Websites

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

Please how to run the npm install command with the --legacy-peer-deps flag when the deployment fails on heroku

mackamle
Автор

bro but i mentioned the node, npm version in engines even though also i am getting error like this unspecified how to solve this. engines.node (package.json): unspecified
engines.npm (package.json): unspecified (use default)

divewithsk
Автор

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! @angular/common@"^15.0.0" from the root project
npm ERR! @angular/material@"^15.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! node_modules/primeng
npm ERR! primeng@"^14.2.2" from the root project
npm ERR!
npm ERR! node_modules/primeng
npm ERR! primeng@"^14.2.2" 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!


I am getting this error in the pipeline. Your solution does not help me. Can you please help me on that?

avijitpaulpoddar