Web
Analytics
can we can upgrade our Angular version and node version | Angular | ASP.NET Tutorials

For Consultation : +91 9887575540

Stay Connected :

How we can upgrade our Angular version and node version

In this tutorial, we will see that how we can we can upgrade our Angular version and node version. Many times I found such kinds of issues like upgrading angular version is most typical. we get various kinds of node and angular versioning issues and errors while we are upgrading the angular version so I would suggest that you should start node and angular installation from the scratch level after that you will not get any kind of issues.

First Remove the following two folders from your PC(Here I am thinking that you already installed Node)

  1. Uninstall Node from Add or Remove Programs.
  2. Delete the Following two folders from your system.
  •  C:\Users\yogeshdotnet\AppData\Roaming\npm
  • C:\Users\yogeshdotnet\AppData\Roaming\npmcache

3.  Download and reinstall the latest Node version from https://nodejs.org/en/download/

4. After successful installation of nodejs open  windows command prompt and write the following commands

  •           node -v
  •           npm -v

The above commands will show you the node version and npm version respectively.

5. Install typescript using the following command

npm install -g typescript@latest

6. Check typescript installation status by command “tsc –version”

The above command will show the typescript compiler version

7. Now we will start the installation of angular compiler or cli.

  • npm install -g @angular/cli@latest
  • "npm install --save-dev @angular/cli@latest"

8. Check the version of angular y writing following command “ng –version”

9. Now you may create new angular project by “ng new projectname”