Try:
npm config set proxy null
npm config set https-proxy null
npm config set registry http://registry.npmjs.org/
The first two lines will remove proxy’s if there any.
Third line will make npm
download from the official package registry.
More Related Contents:
- How to solve npm error “npm ERR! code ELIFECYCLE”
- NPM Install Error:Unexpected end of JSON input while parsing near ‘…nt-webpack-plugin”:”0’
- Why does “npm install” rewrite package-lock.json?
- npm install error – unable to get local issuer certificate
- npm install – javascript heap out of memory
- npm: When to use `–force` and `–legacy-peer-deps`
- npm ERR! git dep preparation failed when trying to install package.json
- What is the –save option for npm install?
- How can I update NodeJS and NPM to their latest versions?
- Local dependency in package.json
- How to set environment variables from within package.json?
- NPM modules won’t install globally without sudo
- How do I install a module globally using npm?
- NodeJS – Error installing with NPM
- How to use private Github repo as npm dependency
- npm ERR! Error: EPERM: operation not permitted, rename
- What is the difference between –save and –save-dev?
- How can I solve error gypgyp ERR!ERR! find VSfind VS msvs_version not set from command line or npm config?
- Purpose of installing Twitter Bootstrap through npm?
- npm WARN npm npm does not support Node.js v9.1.0
- What is the recommended way to install Node.js, nvm and npm on MacOS X?
- How to deploy node app that uses grunt to heroku
- How to make the webpack dev server run on port 80 and on 0.0.0.0 to make it publicly accessible?
- DeprecationWarning: Buffer() is deprecated due to security and usability issues when I move my script to another server
- What is the pwa-node type launch configuration on VSCode?
- Difference between `npm start` & `node app.js`, when starting app?
- NPM cannot install dependencies – Attempt to unlock something which hasn’t been locked
- nodejs “npm ERR! code SELF_SIGNED_CERT_IN_CHAIN”
- npm install that requires node-gyp fails on Windows
- npm update check failed