问题
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