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
75
votes
11 answers

Call retries were exceeded exception while ng build

I am facing an exception while ng build (generating ES5 bundles for differential loading...) An unhandled exception occured: Call retires were exceeded Used versions: Angular-CLI: 8.3.20 Angular: 8.2.7 Node: 12.12.1 Also in logs, it is…
Savan Gadhiya
  • 1,082
  • 2
  • 11
  • 16
50
votes
8 answers

BrowserslistError: Unknown version 67 of android

I have created one angular library using angular 8 and CLI 8. I am trying to build the library, but I am getting the error. ng build I have gone through some questions posted related to this error, most of them say remove node_modules…
Kaustubh Khare
  • 3,280
  • 2
  • 32
  • 48
23
votes
3 answers

Preserve Symlinks in Angular Libraries

I have a problem. I'm trying to make a Angular 8 Library using ng-cli, but i can't preserve symlinks from my external application using npm link. I've tried to add this on my angular.json: "build": { "builder":…
andersonbalves
  • 309
  • 1
  • 2
  • 12
8
votes
3 answers

Angular cli showing error "An unhandled exception occurred: No projects support the 'test' target." when running ng test or ng serve command

I have a basic angular application , which was working fine. The ng serve and ng test commands were working fine. Recently as part of build automation for different environments , I introduced some configuration changes to allow different…
Ananthapadmanabhan
  • 5,706
  • 6
  • 22
  • 39
6
votes
0 answers

Vscode ng serve compiling again and again

On windows 10 ng serve keeps compiling again and again without saving any changes. Even when I switch between two files in vscode it recompiles. But when I run the same angular project on a macOS it behaves properly.
Pritam Kadam
  • 3,203
  • 4
  • 19
  • 41
6
votes
1 answer

How to fix ng build error when renaming public_api.ts to public-api.ts in angular8 upgrade

I am in the middle of migrating angular 7 to angular 8 for my company's component library that was built with 'ng generate library '. I tried to be as close to standard angular cli build as possible. I created a brand new app and a library with…
Annie Huang
  • 161
  • 1
  • 7
6
votes
4 answers

Angular 8: Object doesn't support property or method 'includes'

I am building an application in angular8. I worked on angular5/6/7 and for those applications, I uncommented the imports that exist in the polyfills.ts. For angular 8, it has only 3 imports i.e classlist.js, web-animation-js and zone.js/dist/zone.…
indra257
  • 66
  • 3
  • 24
  • 50
5
votes
1 answer

Angular Firebase Function Deploy Error: Cannot find module 'firebase/app'

I added SSR on my Angular Firebase Project and also set up WPA. And It successfully deployed on the firebase (hosting and functions). But next time I edited some code in component. After that I'm redeploying. firebase hosting is deploying…
Aman Gupta
  • 658
  • 1
  • 8
  • 14
4
votes
3 answers

Find a way to change Node Version

I have Node:13.5.0 version but it is not compatible with Angular CLI 8.3.21 version. So I want to get back to the Node 12. version.
Kamalka Fernando
  • 153
  • 1
  • 2
  • 13
4
votes
0 answers

Intermittent NPM Build Errors for Angular Libraries - ENOENT: no such file or directory, chmod 'dist/acme/library/bundles/acme-library.umd.min.js.map'

We have set of angular libraries which we build and publish to artifactory in our build servers. Intermittently (like 1 in 50 builds), the build fails with below error. ENOENT: no such file or directory, chmod…
Wand Maker
  • 18,476
  • 8
  • 53
  • 87
4
votes
1 answer

Remove "App Ready" status bar in Angular dev server

I used the Angular CLI to create a new project and am seeing a status bar at the top of my app that says "App Ready". I can't find anything about this header bar in the Angular CLI docs, and it can be pretty distracting during development. How do…
raychz
  • 1,085
  • 1
  • 8
  • 24
4
votes
2 answers

Angular 8 - GET styles.js net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK) when served over USB

I am using ng serve to run an Angular 8 project locally. The total bundle size is around 7 MB, and it loads with no trouble on the desktop machine where it's hosted. However, when connecting a phone via USB and using port forwarding (for…
Alex Walker
  • 2,337
  • 1
  • 17
  • 32
4
votes
0 answers

prod build gives referring to a type without a variable error

ng build --configuration=production --base-href /my-app/ --prod generally this is my way of building my angular 8 app for production. however in my current app it is giving me an error while compiling. ERROR in Illegal State: referring to a type…
Lakshman Pilaka
  • 1,803
  • 2
  • 24
  • 48
4
votes
1 answer

Angular CLI's "ng serve" doesn't refer to typescript sources upon errors in chrome dev tools

I am trying to configure an app so that the chrome dev tools console refers to the typescript sources rather than the compiled javascript sources. I have added the following line in an ngOnInit of our Dashboard component throw new…
balteo
  • 23,602
  • 63
  • 219
  • 412
3
votes
3 answers

Angular CLI E2E Testing Wrong ChromeDriver

I am using the angular CLI. I created it with: ng new MyFirstApp I then tried to run the end to end tests with: ng e2e I got the following error message: E/launcher - session not created: This version of ChromeDriver only supports Chrome version…
1
2 3 4