ANGULAR/CLI installation (Windows environment).

Source: Internet
Author: User

1. Uninstall the previously installed ANGULAR/CLI

NPM uninstall-g ANGULAR-CLI
NPM Uninstall--save-dev angular-cli
NPM uninstall-g @angular/CLI

2: Remove the NPM and NPM cache folders under C:\Users\lenovo\AppData\Roaming.


3. Uninstall the latest version of node. js Download and install the installation path by default.


4. Node-v npm-v View version

5. Install typescript and typings with NPM
NPM install-g typescript typings


6. Installing ANGLUAR/CLI
NPM install-g @angular/[email protected]
Possible error messages during installation require Python and other software environment dependencies (I do not have dependent software installed, there is no related exception information during use).


7. Test NG version
Ng-v
If the installation is successful, the following information is prompted:

8. Installation is successful.

ANGULAR/CLI installation (Windows environment).

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.