Skip to main content

Questions tagged [angular-cli-v7]

Usage This tag is intended for questions which ask about angular-cli Please take note that you should use the angular-cli tag for Angular CLI related questions.

angular-cli-v7
0 votes
1 answer
505 views

errors when running npm install -g @angular/cli

How to solve the issue please help. (is that about very slow internet connection if that was the case than what's the min requirement?) C:\Windows\system32> node -v v12.16.2 C:\Windows\...
Shahidur Rahman's user avatar
0 votes
0 answers
643 views

Angular sharing modules between lazy loaded modules - cli creates unwanted chunks

Given 2 lazy loaded modules tableau-de-bord and import. These 2 modules are both importing a common shared-module which is actually shared between all the modules of the app. My problem is, when I ...
Buu97's user avatar
  • 168
1 vote
2 answers
3k views

Why do we ever need to set "--aot false" in angular prod build?

I know that "ahead of time compilation" provides compilation at the build time. There are also bunch of other advantages of --aot such as the application is pre-compiled so there is no such a wait ...
curiousBoy's user avatar
  • 6,685
0 votes
0 answers
704 views

How to read filenames from internal folder structure Angular 7?

I have a requirement something like I have languages json file such as da-DA.json de-DE.json in my assets folder inside i18n directory in which the language mapping is written. Now I want a dropdown ...
Karthik Saxena's user avatar
0 votes
1 answer
3k views

Get all the data of the table using jspdf and autotable

I want to get all the data from my table, the problem is that I only get the data that is in the first page (because of the pagination). I have 200 register on my table, but the pagination only shows ...
Nestor Munguia's user avatar
0 votes
1 answer
5k views

What are the options set by default when we run ng build --prod

When I build my angular application with ng build --prod it creates a build for production environment with build optimization, tree-shaking etc.. If I want to make the same kind of build for ...
JPS's user avatar
  • 2,750
0 votes
1 answer
2k views

Angular 7 Service Returns Undefined from restful API

I'm trying to return a list of tasks from and Angular service that gets the data from a restful .NET API. The API returns the proper data, but when console.log the result from the subscribed to ...
tks2n's user avatar
  • 99
0 votes
1 answer
461 views

Angular 7: How to use fileReplacement globaly

I`m using Angular 7 and i would like to know if exist any way to replace files no matter the enviroment using fileReplacement. Something like this: The problem tight now is that we are using the ...
ubaldisney's user avatar
2 votes
1 answer
4k views

How to read port and host from environment.ts variable for angular.json configuration

Is there any way to read post number and host name form environment.ts file and run the ng serve command. My requirement is to use different port and host for Dev, QA and Prod environments. Now I am ...
Spy1984's user avatar
  • 89
1 vote
1 answer
708 views

Build error when attempting to use cesium with Angular CLI (v7)

I have just started working with angular-cesium and am following their getting started guide for setting up with the angular CLI. On attempting to serve my application, I am am encountering the follow ...
mindparse's user avatar
  • 6,915
10 votes
4 answers
11k views

cannot find module in angular Lazy Loading

I have an angular project successfully on the Mac environment Angular CLI: 7.0.5 Node: 8.11.3 OS: darwin x64 Angular: 7.0.3 Now I am running the same code on ubuntu 18.04 with the setup Angular ...
user824624's user avatar
  • 7,745
1 vote
2 answers
2k views

Angular change detection not detecting changes only in prod

I've got a strange problem that I hope is just a simple fix on my end. The change detection in Angular is not working only in production. I've built a fairly complex app using Angular 7 and ngrx as ...
s.Lawrenz's user avatar
  • 342
3 votes
0 answers
2k views

Angular server side rendering using angular universal not working with lazy loading module

I have an existing CLI project with angular version 7. I need to set up server-side rendering for SEO and social share meta tag use. I follow the official guide given in https://angular.io/guide/...
Maher's user avatar
  • 373
1 vote
1 answer
643 views

'ng' is not recognized as the name of a cmdlet

I was installed new version of nodejs. I could updated the angular/cli globally on my machine. But still getting ng is not recognized as the name of the cmdlet. Is there any way to check the ng ...
Rajan Bosh's user avatar
1 vote
1 answer
81 views

Error building .js files with ng build on lib

I have an app that I am trying to convert to use angular cli (v7). The app is in working order. The app consists of 2 sites and a common lib: - ui-site-1 - ui-site-2 - ui-lib I am using ng build to ...
Oam Psy's user avatar
  • 8,621

15 30 50 per page
1
2 3 4 5
7