linuxangularubuntu-16.04angular-cli-v6

ng serve issue on Ubuntu 16.04


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:

the screenshot of the terminal:

I want to know what is this error or issue about and how can I solve it?


Solution

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

    sudo npm install -g @angular/cli