Ajish Kumar
Ajish Kumar

Reputation: 79

Trying to installing Angular version 15, when latest version installed is 17, throws warning for Unsupported engine

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

Upvotes: 0

Views: 286

Answers (1)

Alpine A110R
Alpine A110R

Reputation: 452

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.

Upvotes: 1

Related Questions