Node Package Manager (NPM)
# change npm registry source
npm config set registry https://registry.npmmirror.com
# check in verbose mode
npm install --verbose
# clean cache and reinstall
npm cache clean --force
npm install
# set proxy for npm
npm config set proxy http://proxy.example.com:8080
npm config set https-proxy http://proxy.example.com:8080
# update npm
npm install -g npm