npm ERR! fetch failed https://email@example.com
npm ERR! Darwin 16.7.0
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “i” “-g” "firstname.lastname@example.org"
npm ERR! node v6.11.3
npm ERR! npm v3.10.10
npm ERR! Hostname/IP doesn’t match certificate’s altnames: "Host: registry.npmjs.org. is not in the cert’s altnames: DNS:*.smartdnsproxy.com, DNS:smartdnsproxy.com"
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
im using macbook pro.
I think you should talk to whoever administers your network.
thank you , the main problem is internet provider ? or network admin any block
Hi open the NodeJS CLI with administrator permission.
- First right click on NodeJS CLI and click on “Run as administrator”
- It will work, If the problem still exist. Please reinstall the npm through the NodeCLI just we opened earlier.
Please do not listen to the advice in the previous post. Never run node as a superuser. There is never a need to do so and it can cause problems that are very difficult to untangle. Please use nvm instead.
Agreed on using nvm. I made the change yesterday after permission issued starting driving me nuts. It’s fantastic
i followed this link