NPM安装角度错误的ubuntu
Helloo,我开始学的角度,虽然试图通过NPM安装角度在Ubuntu 16.04LTS正在以下错误安装角:NPM安装角度错误的ubuntu
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
一些帮助将不胜感激家伙。
Enter command in terminal
NPM缓存清理
搭配chmod -R 777目录,其中u安装NPM 例如:(CHMOD -R 777 /根/ mydesktop)
NPM安装
下面这个我现在得到以下后:/家庭/ hillux └──[email protected] NPM WARN ENOENT ENOENT:没有这样的文件或目录,打开 '/home/hillux/package.json' npm WARN hillux没有描述 npm WARN hillux没有存储库字段。 npm WARN hillux没有自述文件数据 npm WARN hillux无许可证栏。 – Hillux
你好Hillux,我认为角是安装在你的主目录检查那里,如果你想看到安装到另一个目录,并从主目录删除,因为它全局安装 –
很酷。我终于找到了它。所以这意味着如果全球安装,只要在主目录中,我可以在任何地方使用它? – Hillux
其网络问题的https ://github.com/npm/npm/issues/7348 –
http://stackoverflow.com/questions/30702702/eai-again-when-installing-express-from-npm-in-windows-7 –
它可以是在我的最后?我连接到快速的互联网 – Hillux