openedx/frontend-app-account

ERESOLVE error in `npm install` caused by blazeface@0.1.0 bot upgrade

Closed this issue · 2 comments

regisb commented

With the latest version of frontend-app-account, running npm install yields the following error:

$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @edx/frontend-app-account@1.0.0-semantically-released
npm ERR! Found: @tensorflow/tfjs-converter@3.21.0
npm ERR! node_modules/@tensorflow/tfjs-converter
npm ERR!   @tensorflow/tfjs-converter@"3.21.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @tensorflow/tfjs-converter@"^4.10.0" from @tensorflow-models/blazeface@0.1.0
npm ERR! node_modules/@tensorflow-models/blazeface
npm ERR!   @tensorflow-models/blazeface@"0.1.0" 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/regis/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/regis/.npm/_logs/2023-08-28T09_08_49_419Z-debug-0.log

Same for npm clean-install.

I believe this error is due to this recent upgrade of the blazeface package in 09970d7
Incidentally, this commit did not pass CI: https://github.com/openedx/frontend-app-account/actions/runs/5996396130/job/16260862838

#859 was auto merged by renovate which was causing the issue. Reverted it in #861 and now CI is passed. We are debugging why renovate merged this with CI fail

regisb commented

I'll close this now, as the initial issue has been resolved. I'll let you create another issue about the renovate bot, if needed.

Thanks for the swift reply!