I'm currently facing challenges with installing the correct version of Angular. I keep encountering errors such as
This version of CLI is only compatible with Angular versions ^11.0.0-next || >=11.0.0 <12.0.0, but Angular version 9.1.1 was found instead.
I followed the instructions in the project's package.json file to install Angular using
npm -g install @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="8deee1e4cdbcbca3bda3bb">[email protected]</a>
. However, upon running ng --version
in the project, I see
Angular CLI: 11.2.1
Node: 14.15.5
OS: win32 x64
Angular: 9.1.1
I'm confused about the discordance, any assistance on this matter would be greatly valued