0

In my System Angular Version 17 was installed. I tried installing Angular 15. To achieve this I tried

  1. npm uninstall -g @angular/cli. Angular is successfully uinstalled.
  2. npm cache clean(this throws the error, it was suggesting to use --force).Screenshot added.enter image description here
  3. Uninstall node(as I had latest node, i.e, 20).
  4. Downloaded node v18.10.0.
  5. npm i @angular/[email protected]. This is giving some warning and angular is not installed.enter image description here

1 Answer 1

1

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 -v to 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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.