use angular.cli

Hits: 0

Use node -vto determine the version number of node

  1. Node needs to configure environment variables, usually add it to the path D:\Program Files\nodejs
    and determine the version number of npm: npm -v
    download and install python , use to python --verionconfirm whether python is installed successfully
    install the C++ compilation tool, npm install --global --production windows-build-tools
    install cnpm npm i -g cnpm --registry=https://registry.npm.taobao.org
    install the scaffolding tool cnpm i -g @angular/cli
    Check the version of the scaffolding ng -version
    Generate a new project ng new project-name
    Start projectng serve

Reference link

You may also like...

Leave a Reply

Your email address will not be published.