Unable to build project: `npm install` fails
git clone https://github.com/shridhar-tl/jira-assistant.git cd jira-assistant git checkout develop npm install
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: email@example.com npm ERR! Found: firstname.lastname@example.org npm ERR! node_modules/primeflex npm ERR! primeflex@"^3.0.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer primeflex@"^1.0.0-rc.1" from email@example.com npm ERR! node_modules/jsd-report npm ERR! jsd-report@"^0.1.9" 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 /Users/john.doe/.npm/eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! /Users/john.doe/.npm/_logs/2021-11-03T14_32_44_695Z-debug.log
See files in attachment:
Unable to reproduce this issue anymore. Hence closing this issue.
Any way, if this issue occurs again in future, then as mentioned in the npm error "retry this command with --force, or --legacy-peer-deps"