facing issue with frontend build
/var/www/web# yarn prod /var/www/web/.pnp.cjs:26008 Error.captureStackTrace(firstError); ^
Error: webpack tried to access webpack-cli (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.
Required package: webpack-cli (via "webpack-cli/package.json") Required by: webpack@virtual:c3d627e448cea36ec85264a162cf3792622b669596d7f618fb0e27f854a00e3d7ca77ffb3ebd83966b276011f187a5005b0c19764c36332eff47748ddc3fe1c1#npm:5.80.0 (via /var/www/web/.yarn/virtual/webpack-virtual-e15eacc617/0/cache/webpack-npm-5.80.0-a28367a059-7b9229d644.zip/node_modules/webpack/bin/)
Ancestor breaking the chain: @cattr/frontend-application@workspace
can you help how to fix it
One time I cloned this repo and had something similar. It occurred after I've been messing with .yarnrc.yml got it working after some time, but in the end I just started fresh and it just fixed itself :)