Unable to upgrade global angular CLI from 7 to 8

Unable to upgrade global angular CLI from 7 to 8

By : E.Crombecque
Date : September 04 2020, 05:00 AM
it fixes the issue
I've tried running uninstall, install, upgrade, using sudo, specifying ng update @angular/cli@^8, @latest. No matter what I get the same result. I'm not getting any errors either.
code :
npm uninstall -g @angular/cli
npm install -g @angular/cli

Share : facebook icon twitter icon
Unable to render primeNG css since upgrade webpack has upgraded and Angular 4

Unable to render primeNG css since upgrade webpack has upgraded and Angular 4

By : null
Date : March 29 2020, 07:55 AM
around this issue I ended up moving to Angular-CLI, putting the css files I needed in the .angular-cli.json file and it worked.
code :
"styles": [
Angular 5 project is unable to upgrade in to Angular 7

Angular 5 project is unable to upgrade in to Angular 7

By : Srijan Chatterjee
Date : March 29 2020, 07:55 AM
will be helpful for those in need There is an issue in the official documentation.
It says to run npm install @angular/cli but actually you need to run
code :
npm install --save-dev @angular/cli@latest
Unable to access nested object after Angular 8 upgrade

Unable to access nested object after Angular 8 upgrade

By : user3338102
Date : March 29 2020, 07:55 AM
seems to work fine For this kind of scenarios, I am preferring to use subjects
Add a subject in one shared service and then share the state between your components or services.
code :
export class SharedService {

  public params$: Subject<any> = new Subject();

  constructor() { }


constructor(private _sharedService: SharedService) {
    this._sharedService.params$.next({test: 1})

import { Component, OnInit, AfterViewInit } from '@angular/core';
import { Subject } from 'rxjs';
import { SharedService } from './shared.service';

interface ContentParams {}

  selector: 'my-app',
  templateUrl: './app.component.html',
  styleUrls: [ './app.component.css' ]
export class AppComponent implements OnInit  {

  public params: ContentParams;
  public isDataValid = true;
  public error = '';

  constructor(private _sharedService: SharedService) {


  ngOnInit() {
    this._sharedService.params$.subscribe( params => {
      console.log(params) // {test: 1}
      this.params = params;


Unable to catch global exceptions when using async/await in angular

Unable to catch global exceptions when using async/await in angular

By : user3403695
Date : March 29 2020, 07:55 AM
it helps some times Can you please check the stackblitz here? Is this the way you call the singIn function?
I have basically done the following:
code :
export class AppComponent  {
    constructor() {

  signIn = async () => {
    throw new Error('test error');
class UIErrorHandler extends ErrorHandler {
  constructor() {
  handleError(error) {
    alert(`Error occurred:${error.message}`);

  imports:      [ BrowserModule, FormsModule ],
  declarations: [ AppComponent, HelloComponent ],
  bootstrap:    [ AppComponent ],
    providers: [
      provide: ErrorHandler,
      useClass: UIErrorHandler,
export class AppModule { }
Unable to Publish Angular Application After Microsoft Build Engine Upgrade

Unable to Publish Angular Application After Microsoft Build Engine Upgrade

By : cammychristine
Date : September 27 2020, 08:00 AM
around this issue We were able to resolve this issue in our build system by adding the Use Node.js ecosystem task in our pipeline prior to the npm install task.
Check the node environment in your development machine where it works, make a note. Add a new task to your pipeline and search for the "Node.js tool installer". Specify the node version that you want to use in this task Save the pipeline
code :
- task: UseNode@1
  displayName: 'Use Node 8.12.0'
    version: 8.12.0
Related Posts Related Posts :
  • How to update all ionic cordova plugin at one command in Ionic-V4
  • How to give dynamics values for [routerLink] which it corresponds to values of an array?
  • Add and delete item from an array
  • How to unit test a button within an ngfor
  • How to launch a method after a cell value has been edited in ag-grid?
  • Can't select individual user accounts when creating a new Asp.Net Core 2.1 Angular project in Visual Studio 2019
  • How do I get the response code in angular 7
  • Angular PrimeNg: p-table not detected using @ViewChild
  • How to route within the tab component in ionic
  • How can i combine data from two API's into datasource
  • Find the last index from the array using ngFor
  • ngSelect always return undefined
  • Nested Forms in Angular Material Stepper trigger a ExpressionChangedAfterItHasBeenCheckedError
  • Angular library dependency exposure
  • Handling errors with RxJS and Angular async pipe
  • Kubernetes internal CORS issues between services
  • Ionic set marker on location or based on longitude and latitude
  • CAN NOT expand Angular Material table
  • Share a angular library across multiple projects
  • How to import pipe to 2 modules(AppModule and ChildModule)?
  • How to disable the drag option on Angular material Slide toggle component
  • Does Spartacus support Hybris on-premise?
  • Bind regular expression from json to typescript
  • How can i get the selected value in ion-alert radio alert
  • How to get all attributes of an object
  • Using angular elements inside the same angular project
  • RxJS assign observable and get data in one stream
  • Why I can not use anguar/material elements?
  • Getting Error when running 'ng test' Command
  • How can I make another request within catchError?
  • angular 7 input number validation
  • Dont show digits after decimal using angular pipe
  • How to use same component in normal way and with angular material dialog both?
  • How to integrate ReSharper with WebStorm
  • Google cloud application yaml for angular 7
  • How to perform concurrent HTTP requests on rows of a table
  • Angular 7 - deploy workspace applications (projects) in isolation
  • how to turn off differential loading in Angular v8?
  • How to add and update npm packages for a new Angular app in Visual Studio 2019
  • Angular 7, Ngrx, Rxjs 6 - Accessing state between lazy loaded modules
  • cannot find symbol import com.google.firebase.iid.FirebaseInstanceIdService error in ionic3
  • AWS CodePipeline, build failed and getting error
  • CORS problem with Angular and laravel even after setting the CORS header and server response
  • Angular, when the variable is mentioned in the url, the variable is not replaced with its value. Ex: ${username}
  • How to apply two ngIf on single html element with two different conditions
  • Ionic not importing ngx-mathjax module
  • How to display base64 image on iPhone in Ionic 4
  • ngFor in columns with diferents properties
  • How catch the http errors with map
  • How to format a Date field in Angular project
  • focusing ng-select filter input on drop down open
  • Angular 7 PDFJS Component
  • NestJs Errors stemming from @types dependencies in node_modules when running start:prod on fresh project
  • How to override ion-back-button action in ionic 4 with angular 7
  • How can I have an array in input form?
  • Angular 6 component test with a variable into HTML
  • Why is ES7/array polyfill needed despite the tsconfig target is set to ES5
  • How to deal with Google recaptcha backend validation response delay
  • Logging in using @angular/fire/auth results in 403 error on localhost
  • In Angular, with ViewChild/ ViewChildren, how do I get the child of a child?
  • shadow
    Privacy Policy - Terms - Contact Us © 35dp-dentalpractice.co.uk