ng在Ubuntu 16.04上投放问题 [英] ng serve issue on Ubuntu 16.04
本文介绍了ng在Ubuntu 16.04上投放问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已通过
我想知道此错误或问题是什么以及如何解决?
解决方案
这只是一个权限问题。只需对超级用户使用 sudo
。
sudo npm install -g @ angular / cli
I've installed AngularCLI (Angular6) on Linux Ubuntu 16.04 with regular way. then I've tried to serve my app with
ng serve --open
But the terminal became as the screenshot below:
I want to know what is this error or issue about and how can I solve it?
解决方案
It's just a permission problem. Just use sudo
for superuser.
sudo npm install -g @angular/cli
这篇关于ng在Ubuntu 16.04上投放问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文