I been unable to run npm install on my mac terminal or VSTS code. see below the commands that are trying to run
- npm install -g vsts-npm-auth --registry https://registry.npmjs.com--always-auth false
- vsts-npm-auth -config .npmrc
error in here
I have an format error on the second command
vsts-npm-auth -config .npmrc zsh: exec format error: vsts-npm-auth
- Run:
npm install - run npm start`
As you can see, I can not even past the first command.
I had try clear the proxy assign a proxy And my network is completely fine, I ping https://registry.npmjs.com and it works ok I also did
-npm config set registry https://registry.npmjs.org/
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.com--always-auth/vsts-npm-auth failed, reason: getaddrinfo ENOTFOUND registry.npmjs.com--always-auth
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'