Reputation: 77
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
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
Reputation: 1
use ctrl + v it will ask weather to terminate say Y, cursor will go back
Upvotes: -3
Reputation: 3284
There are simple ways:
Upvotes: 10
Reputation: 5659
There are couple of ways you can do that.
ng serve --open
command there. Now you can run this file which will internally run your angular app, using forever or pm2 npm modules. If you do that these will demonise your process to run in background and your same command prompt becomes usable again.
Upvotes: 4