4

Related to ng serve opens editor instead of loading local URL


I tried to serve an app with ng serve, the prompt output:

Command 'ng' not found, but can be installed with:

sudo apt install ng-common

But this is a text editor, not the angular cli. So now I see myself stuck on an editor harder than vi to exit

How do I quit this? Crtl+C, ESC+Z+Z or \q doesn't work

Guilherme
  • 451

1 Answers1

4

To quit, just press:

[Ctrl] + x
[Ctrl] + c

You will be asked if you wnat to save the file, just say no and confirm yes

Guilherme
  • 451