Shyam
Shyam

Reputation: 77

How to use Command Prompt after ng serve was compiled

In Angular 5, after creating project folder, installing Angular CLI, Node.js (all latest versions) and ng serve was compiled successfully through command prompt. Then I tried to use command prompt to install bootstrap. I could not control / use command prompt. What might be the cause and effect?

Command prompt stuck after compilation

Upvotes: 2

Views: 15454

Answers (4)

SaMB0
SaMB0

Reputation: 1

Once the process is finished( compiled successfully), you would notice that the cmd -prompt newline doesn't show any directory and its blank. This means that, you just have to open an another (new terminal), get to the right directory using "cd command "and implement your desired commands or operations again.

Upvotes: -1

user11409769
user11409769

Reputation: 1

use ctrl + v it will ask weather to terminate say Y, cursor will go back

Upvotes: -3

Sina Lotfi
Sina Lotfi

Reputation: 3284

There are simple ways:

  1. If you use Command Prompt(Terminal), open another Command Prompt inside your project path.
  2. If you use IDE like Visual Studio Code, open Terminal and then you can use Plus(+) sign for openning anothor Terminal like below image:

Visual Studio Code Terminal

  1. If you use IDE like WebStrom (Jetbrains IDE), first open IDE Terminal then make right click and select New Session and new terminal openning like below image:

WebStorm Teminal

Upvotes: 10

Jeet
Jeet

Reputation: 5659

There are couple of ways you can do that.

If you do that these will demonise your process to run in background and your same command prompt becomes usable again.

Upvotes: 4

Related Questions