Node.js & npm
— Proxy Setup
npm set proxy=http://username:password@hostname:port/
npm set https-proxy=http://username:password@hostname :port/
npm config set strict-ssl false
npm config set registry http://registry.npmjs.org/
— Commands to keep npm and node in sync
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
npm install -g @angular/cli
npm i
– to start the server:
ng server / npm run local