In my System Angular Version 17 was installed. I tried installing Angular 15. To achieve this I tried
- npm uninstall -g @angular/cli. Angular is successfully uinstalled.
- npm cache clean(this throws the error, it was suggesting to use --force).Screenshot added.

- Uninstall node(as I had latest node, i.e, 20).
- Downloaded node v18.10.0.
- npm i @angular/[email protected]. This is giving some warning and angular is not installed.

This table shows that the version of ng15.0.x is compatible with the v18.10.0
Make sure that the nodejs is on 18.10.0 version.
run
node -vto confirm Node 18.10.0 has been installed,And try to reinstall the project.
To avoid to uninstall and install different version of nodes, you can use NVM for Windows to manage multiple installations of node.js on a Windows computer.