Top "Angular-cli" questions

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

"Invalid Host header" when running Angular/cli development server c9.io

Current command: ng serve --host --public $IP:$PORT Results on my website: Invalid Host header

angular angular-cli c9.io
Get angular-cli to ng serve over HTTPS

The following doesn't seem to do anything. ng serve --ssl true --ssl-key <key-path> --ssl-cert <cert-path> Creating …

angular ssl https ssl-certificate angular-cli
Generating Component without spec.ts file in Angular 2+

Is there a way to get rid of the spec.ts file in Angular 2+, whenever I create a new component. …

angular angular-cli angular-components angular-schematics
The command "npm run build -- --prod" exited with code 1 error

I'm developing an Asp.Net Core 2 and Angular 5 project in visual studio 2017. When I'm going to publish my project then …

angular npm asp.net-core angular-cli npm-install
Running a single test file

Is there a way to run ng test for a single file instead of for the entire test suite? Ideally, …

angular jasmine angular-cli karma-runner
Generate a routing module while creating a module in angular-cli

I recently started implementing lazy loading in my application. I was wondering whether there is any way to create a …

angular lazy-loading angular-cli
Installing npm package fails with 404

Using the command prompt, I am trying to install angular CLI and it fails. I have npm version 5.5.1 and node …

node.js angular-cli npm-install
Angular2 CLI error "@angular/compiler-cli" package was not properly installed

I'm working an Angular 2 project. Now trying to install Angular CLI within the current project with the following npm install …

angular angular-cli
ERROR TypeError: Cannot read property 'length' of undefined

There is an error in this part of my code <img src="../../../assets/gms-logo.png" alt="logo" routerLink="/overview" …

angular typeerror angular-cli google-developers-console google-developer-tools
How to include custom files with angular-cli build?

RE: Angular2 2.0.0, angular-cli v1.0.0-beta.11-webpack.8 How do I tell angular-cli to include a file from "src/assets" in the …

angular angular-cli