For me running npm i [email protected] (as v18-lts) helped to solve same issue.
npm i [email protected]