Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete an application in Angular 2?

Tags:

angular

I am trying to delete an application. I have created a new application using ng new. Now I want to delete that application. Can I do it using CLI? Or can I delete the folder directly?

like image 399
prasad Avatar asked May 30 '17 10:05

prasad


4 Answers

Probably you mean deleting a project in Angular multi-project workspace. To do it:

  1. Remove block for project in angular.json
  2. Delete project folder in workspace
  3. Delete project folder in dist folder
  4. Be sure that all Node.js processes are closed (e.g. in Task Manager, if you use Windows)
like image 183
Viktor Sirotin Avatar answered Oct 23 '22 04:10

Viktor Sirotin


Stop the Server : ctrl + c

and manually delete the folder.

like image 20
Nihal Singh Avatar answered Oct 05 '22 22:10

Nihal Singh


There is no CLI option for delete. You can manually delete the folder.

like image 3
Praneeth Reddy Avatar answered Oct 23 '22 04:10

Praneeth Reddy


  1. if you have started npm start or ng serve, Stop them first.
  2. Delete the folder.
like image 3
codeSetter Avatar answered Oct 23 '22 05:10

codeSetter