Faced the dame issue today with the version 24.1.41. Suggested solution hasn't helped me.
Only this actions were helpfull. Hope it helps somebody
rm -rf node_modulesrm -f package-lock.jsonnpm cache clean --forcenpm install
Hi Liubov,
We are glad that you resolved the issue you were facing.