Helloo, am starting to learn angular and while trying to install angular by npm install angular on ubuntu 16.04LTS am getting the following error:
npm ERR! Linux 4.4.0-64-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "angular"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! syscall getaddrinfo
npm ERR! getaddrinfo EAI_AGAIN registry.npmjs.org:443
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /home/hillux/npm-debug.log
some help will be appreciated guys.
Enter command in terminal
npm cache clean
chmod -R 777 directory where u installing npm eg:(chmod -R 777 /root/mydesktop)
npm install
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.