Questions tagged [angular-cli-v8]

Angular CLI v8 related questions

The Angular CLI is a tool to initialize, develop, scaffold and maintain Angular applications

Usage:

  • This tag is intended for questions which ask about Angular CLI issues or usage.
  • Angular related questions should use the angular tag.

Asking a question

  • Mention the versions of Angular and Angular CLI that you're using.
  • Reduce your issue to a small example Post a reduced working code on stackblitz.com.

  • If there's a bug (or some unintentional behavior), try to troubleshoot the problem. (If it's a bug report, please create a new issue at Angular CLI's Github repository instead.)

Learn more

To learn more about Angular CLI, visit the following resources to help you get started:

59 questions
0
votes
1 answer

child component not get display while using router-outlet active event to get child component instance

While using router-outlet, i have used “active” event ton take child component instance. A router outlet will emit an activate event any time a new component is being instantiated, and a deactivate event when it is being destroyed. Sample -…
Kumaresan Sd
  • 1,399
  • 4
  • 16
  • 34
0
votes
0 answers

Can Angular cli display two component at the same time where the first contain the list of item and another the overview of the item selected?

i want to know if it is possible to set-up with angular cli two component in one view , where the first component display the list of whole items and the second the overview of the item selected from the list (first component) ? for exemple : in the…
ELECTRON
  • 1
  • 2
0
votes
1 answer

Sass-loader PrependData in angular cli 8 using custom-webpack throws error

angular.json config webpack.config.js file Error Message
flashobj
  • 31
  • 1
  • 5
0
votes
0 answers

Angular 8, agm api, WARNING in ./node_modules/@agm/core/fesm5/agm-core.js 4538:34-52

I am currently working on a project in angular 8. I was attempting to set up a Google maps API and completed: 1.maps.service.ts 2.app.module.ts 3.app.component.ts 4.app.component.html the errors I'm getting are: WARNING in…
zolk
  • 1
  • 1
0
votes
1 answer

Angular Material Label Won't Float with AOT Build

I've been searching to see if anyone else has come across this error for a while now, but to no avail. I recently upgraded my website to Angular 8 and started using the Angular CLI instead of webpack. I finally ran a production build with the…
0
votes
1 answer

ng add @angular/pwa - Cannot read property 'length' of undefined

I'm trying to add PWA capabilities into the Angular 8 project (generated with ng new). ng add @angular/pwa --project projectname Got the error: Installing packages for tooling via npm. + @angular/pwa@0.803.19 added 5 packages from 2 contributors…
0
votes
2 answers

angular route static paths access urls directly without permission

I am trying to fix a bug in a web application using java 8, spring boot, Spring MVC and front end with angular cli. When the user logins the application and is created a menu considering the user profile permission with java, but the application…
0
votes
1 answer

Angular CLI 8."ng serve" fails when using "paths" in tsconfig.json

I'm working on a project that includes several different frontends based on Angular 8. Each frontend is a separate Angular 8 project with its own folder substructure. Their root folders are all located in the same main folder. theproject |___…
user6749601
0
votes
2 answers

Creating Angular project without web-pack and Angular CLI

I am Angular beginner. I want to create angular project without CLI. I have referred this link - https://blog.angularindepth.com/setting-up-angular-from-scratch-1f518c65d8ab to create the project but the issue is nothing from index.html is loaded in…
Adya
  • 1,084
  • 9
  • 17
0
votes
1 answer

ng build with `--prod` flag fails with `Error occurs in the template of component`

when i run the ng build it works fine. in case of ng build --prod throws following errors mostly. what is the issue how to fix them? here is the errors: app/pf-services/cms/components/translation-status/translation-status.component.ts:14:18 14 …
3gwebtrain
  • 14,640
  • 25
  • 121
  • 247
0
votes
1 answer

Angular CLI building SourceMaps, but not deploying them

We are using a front-end error logging tool Sentry to see the errors we get in our angular applications. Sentry allows users to upload their SourceMap files, so I went into our angular.json and set "sourceMap": true. As expected, it creates a lot of…
eddyP23
  • 6,420
  • 7
  • 49
  • 87
-1
votes
1 answer

angular 8 prod mode import then catch throws compiler not found error

java spring 5, Angular 8+ with Cli 8+ I have lazy lazy load enable for modules which looks as following and works perfectly fine build with or without --prod flag { path: 'abc' loadChildren: () => import('abc.module').then(m => m.abcModule…
d-man
  • 57,473
  • 85
  • 212
  • 296
-2
votes
1 answer

Problem to install a older version of angular cli

I need to install a older version of angular cli. When I use: npm install -g angular-cli@8.3.23 This error appears: npm ERR! code ETARGET npm ERR! notarget No matching version found for angular-cli@8.3.23. npm ERR! notarget In most cases you or one…
-2
votes
1 answer

Angular Console: Can't create library

I'm trying to create a new library using v 8.1.0 of the Angular Console on Windows. The error I get is "ENOENT: no such file or directory, mkdir "c:\path\to\my\workspace\libs\new_library_name" "c:\path\to\my\workspace\libs" exists…
TimTheEnchanter
  • 3,370
  • 1
  • 26
  • 47
1 2 3
4