Top "Angular-cli" questions

The Angular CLI is a command line interface for building, managing and deploying Angular (version 2+) applications.

Angular 6 CLI -> how to make ng build build project + libraries

So the question is pretty basic but I can't find it. I created a new app through ng new my-project, …

angular angular-cli angular6
Angular AOT compilation error "cannot determine module for class Component''

I have an Angular (4.3.2) application on which I want to perform an AOT build. App was created using @angular/cli. …

angular typescript angular-cli aot angular-aot
How to properly build an optimize Angular 5 Project?

I'm new to Angular 5 project. I ran ng build --prod to generate a dist/ folder. I noticed it takes quite …

javascript angular webpack angular-cli angular5
Angular cli not using global npm install

I am new to npm and node, i am learning angular. In an angular cli project, whenever i run ng &…

angular npm angular-cli npm-install
How to make material components work with Karma in unit testing Angular

I have an angular CLI project set up. I've made a form that uses angular material components, like <md-card&…

javascript angular angular-material karma-jasmine angular-cli
The pipe 'translate' could not be found , angular2 component testing

I am working on component testing with angular2. in my html template i use the translate pipe. This is the …

angular angular-cli angular2-testing ng2-translate
How to use Angular 4 with SASS

I'm starting my first project using Angular4 and sass and I'm trying to figure it out how to work with …

css angular sass angular-cli css-preprocessor
Angular CLI output - how to analyze bundle files

I am using Angular CLI to build an app for production using the --prod switch. The bundle is created in …

angular angular-cli tree-shaking
Angular cli service generation: service is generated in root instead of /services

I'm messing around with Angular a bit. Trying to generate some stuff with angular-cli. But when generating a new service …

angular angular-cli angular-services
"Error: No provider for Overlay!"

In my Angular 2.0.0-rc.7 + Angular Material 2.0.0-alpha.8-1 application built with Angular CLI 1.0.0-beta.11-webpack.9-1, I get the following …

angular angular-cli angular-material2