Posts

Showing posts with the label Angular Common Commands

How To Delete A Component In Angular

Steps to delete a component in Angular Remove the import line reference from Angular  app.module.ts  file. Remove the component declaration from @NgModule declaration array in  app.module.ts  file And then manually delete the component folder from Angular project. Finally Delete all the references of component manually from the Angular project. In Angular CLI,there is no command available to delete a component created by Angular CLI as of now. There is no ng delete component command as part of Angular CLI.

Could not find module “@angular-devkit/build-angular”

=========================================== You may try this one also==> npm install ng update and finally npm update

Angular6 common Commands.

Uninstalling packages and dependencies==> npm uninstall <package_name>