When you use ng serve
, you create a local development server on a shell instance that listens for requests. While this server is running, you cannot use this shell instance because it is busy listening to HTTP requests.
The solution is to open a new tab or terminal window and execute terminal commands from an instance of the shell.
source
share