getting below error while installing npm package chalk in visual studio code
PS C:\sagar\node js training> npm install chalk npm WARN config global --global, --local are deprecated. Use --location=global instead. npm ERR! code ETIMEDOUT npm ERR! syscall connect npm ERR! errno ETIMEDOUT npm ERR! network request to http://registry.npmjs.org/chalk failed, reason: connect ETIMEDOUT 104.16.23.35:80 npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config'
--global,--localare deprecated. Use--location=globalinstead. npm ERR! code ETIMEDOUT npm ERR! syscall connect npm ERR! errno ETIMEDOUT npm ERR! network request to registry.npmjs.org/chalk failed, reason: connect ETIMEDOUT 104.16.23.35:80 npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make s