Monday 8 June 2020

Install node, npm, angular 8/9 on windows 10

1. Download and install node & npm for windows:
https://nodejs.org/en/download/

2.
  1. npm install -g node-gyp
  2. npm install -g windows-build-tools (if stuck use npm install --global --production --verbose windows-build-tools)
  3. npm install -g @angular/cli

Problem might encouter:
Run powershell as administrator

If installation on npm install -g windows-build-tools stuck on installed python for a long time.
use
npm install --global --production --verbose windows-build-tools
instead







No comments:

Post a Comment