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?
Asked
Active
Viewed 3.7k times
5 Answers
11
Probably you mean deleting a project in Angular multi-project workspace. To do it:
- Remove block for project in angular.json
- Delete project folder in workspace
- Delete project folder in dist folder
- Be sure that all Node.js processes are closed (e.g. in Task Manager, if you use Windows)

Viktor Sirotin
- 169
- 1
- 8
3
- if you have started npm start or ng serve, Stop them first.
- Delete the folder.

dipak
- 2,011
- 2
- 17
- 24
0
Answer for deletion with command line:
You must delete it manually, you can directly delete or use the rmdir command or del command in cmd prompt. But you also need to use /s option to recursively on rmdir do that with the project folder else it won't go ahead.

Laxmikant Kabra
- 11
- 2