From error above message, it seems there is mismatch or conflict between Angular CLI version that you have installed and what VS template expects or generates. My advice, you can test to downgrade your Angular CLI to v16. If still not working, you can try to create your Angular project using Angular CLI (in separate folder).