Top "Angular-cli" questions

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

Lazy load Angular 5 error: $$_lazy_route_resource lazy recursive

I'm using angular cli AoT compilation. When I try to make a lazy load component following this tutorial, I got …

angular angular-cli lazy-loading
Pack/Import a local developed module into a project

I am trying to import a locally developed Angular project/module into an angular application without publishing it into npm …

angular npm angular-cli angular-module ng-packagr
Using scss as default style sheet in Angular 6+ (styleExt)

Apparently the way to declare the default stylesheet extension changed from Angular 6 onwards. The styleExt property in the angular.json …

css angular sass angular6 angular-cli
How to compress and optimise an Angular2 application

I want to make my angular-cli application faster! Right, so I have spent a number of days updating my NG2 …

angular angular-cli
/angularfire2/index has no exported member 'AngularFire'

Can't fix this problem: app.component.ts import { AngularFire, AuthProviders, AuthMethods } from 'angularfire2'; /angularfire2/index has no exported member …

angular firebase import angular-cli angularfire2
npm package seems to be corrupted

I am getting these warnings and then errors at the end. What is the fix? npm WARN deprecated [email protected]: core-js@&…

angular npm angular-cli npm-package npm-version
Difference between ng add <package name> vs npm install <package name> in angular 6

As Angular6 has been released, They have added a new command ng add . Can anyone tell me what will be …

angular npm angular-cli angular6
AngularFIRE Property 'subscribe' does not exist on type 'AngularFireList<{}>'

I'm following this tutorial about how to connect angular with firebase database. But in minute 17:30 I'm getting this error: Property …

firebase firebase-realtime-database angular-cli angularfire2
ng build --prod does NOT minify / uglify / remove comments since Angular CLI 6

Since I've upgraded my Angular app to use Angular CLI version 6.x, compiling it for production (using ng build --prod, …

angular typescript angular-cli minify angular-cli-v6
angular cli exclude files/directory for `ng test --code-coverage`

I am running the following command to unit test and generate code code coverage report. ng test --code-coverage It is …

angular karma-runner angular-cli istanbul