[英]npm install angular error ubuntu
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: 您好,我开始学习angular,并尝试通过npm在Ubuntu 16.04LTS上安装angular时遇到以下错误:
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 npm缓存清理
chmod -R 777 directory where u installing npm eg:(chmod -R 777 /root/mydesktop) chmod -R 777目录,您在其中安装npm,例如:(chmod -R 777 / root / mydesktop)
npm install npm安装
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.