![](/img/trans.png)
[英]Error installing angular-cli with NPM on a fresh ubuntu install
[英]npm install angular error ubuntu
您好,我開始學習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
一些幫助將不勝感激的家伙。
Enter command in terminal
npm緩存清理
chmod -R 777目錄,您在其中安裝npm,例如:(chmod -R 777 / root / mydesktop)
npm安裝
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.