Can not find module “@angular-devkit/build-angular”
Issue Description:
Angular build commands give below error,
“Can not find module “@angular-devkit/build-angular”
Resolution
To fix the issue, please run the below command
npm i @angular-devkit/build-angular
What Is Angular-DevKit?
DevKit provides a large set of libraries that are used to manage, develop, deploy and analyze code. Angular CLI is built on the top of Angular DevKit.
Angular DevKit provides below set of packages and tools which are very helpful means for managing, deploying and developing code.
- @angular-devkit/architect
- @angular-devkit/build-angular
- @angular-devkit/build-ng-packagr
- @angular-devkit/build-optimizer
- @angular-devkit/build-webpack
- @angular-devkit/core
- @angular-devkit/schematics
Other references:
That’s all! Happy coding!
Does this help you fix your issue?
Do you have any better solutions or suggestions? Please sound off your comments below.
Please bookmark this page and share it with your friends. Please Subscribe to the blog to receive notifications on freshly published(2024) best practices and guidelines for software design and development.
Thanks ! worked for me.