ng serve issue on Ubuntu 16.04

只愿长相守 提交于 2020-06-28 06:01:56

问题


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?


回答1:


It's just a permission problem. Just use sudo for superuser.

sudo npm install -g @angular/cli



来源:https://stackoverflow.com/questions/51603464/ng-serve-issue-on-ubuntu-16-04

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!