question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: Problem with Angular 9 + Ionic 5

See original GitHub issue

Bug Report

Ionic version: [x] 5.x

Current behavior: When run ionic serve the app doesn’t work

img

img

Steps to reproduce:

I try upgrade with follow steps:

  • ng update @angular/cli@8 @angular/core@8
  • npm install @ionic/angular@latest @ionic/angular-toolkit@latest --save
  • ng update @angular/cli @angular/core`

Ionic info:

   Ionic CLI                     : 6.1.0 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.0.0
   @angular-devkit/build-angular : 0.900.1
   @angular-devkit/schematics    : 9.0.1
   @angular/cli                  : 9.0.1
   @ionic/angular-toolkit        : 2.1.2

Ng version

@angular-devkit/architect         0.801.2
@angular-devkit/build-angular     0.900.1
@angular-devkit/build-optimizer   0.900.1
@angular-devkit/build-webpack     0.900.1
@angular-devkit/core              9.0.1
@angular-devkit/schematics        9.0.1
@angular/cli                      9.0.1
@ngtools/webpack                  9.0.1
@schematics/angular               8.3.25
@schematics/update                0.900.1
rxjs                              6.5.4
typescript                        3.7.5
webpack                           4.41.2

my tsconfig.app.json

{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    "outDir": "./out-tsc/app",
    "types": []
  },
  "include": [
    "src/**/*.ts"
  ],
  "exclude": [
    "src/test.ts",
    "src/**/*.spec.ts"
  ]
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
liamdebeasicommented, Feb 12, 2020

You can upgrade an app to Angular 9 by running ng update @angular/core @angular/cli.

The starter apps currently ship with Angular 8 and will be updated to ship with Angular 9 by default soon.

0reactions
ionitron-bot[bot]commented, Mar 13, 2020

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

bug: Problem with Angular 9 + Ionic 5 · Issue #20459 - GitHub
Bug Report Ionic version: [x] 5.x Current behavior: When run ionic serve the app doesn't work Steps to reproduce: I try upgrade with...
Read more >
Ionic 5 / Angular 9 - Error importing componente to page
I understood that this was enough to be able to use the component within the page, but it continues presenting the image error....
Read more >
Ionic 5 Angular 9 (Modal) - Selector Problem - StackBlitz
A project based on rxjs, tslib, core-js, zone.js, @angular/core, @angular/forms, @ionic/angular, @angular/common, @angular/router, @angular/compiler, ...
Read more >
Update Angular to v15
This topic provides information about updating your Angular applications to Angular version 15. For a summary of this information and the step-by-step ...
Read more >
Resolving issues with zone-flags after upgrading to Ionic 5 ...
Resolving issues with zone-flags after upgrading to Ionic 5 with Angular 9 · I tried modifying my tsconfig per the error message, no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found