Skip to content

Angular 9 Upgrade Issue #33153

@Brocco

Description

@Brocco

🐞 bug report

Affected Package

This is a build error, unsure of which package.

Is this a regression?

No

Description

Attempting to upgrade an Angular 8 (8.2.8) project to version 9 (9.0.0-next.10 cli version is 9.0.0-next.8) is resulting in a build error.

🔬 Minimal Reproduction

NOTE: This is a proprietary application that I am unable to share the code base.

ng update @angular/cli @angular/core --next --force
ng build

🔥 Exception or Error

when building all modules being compiled are esm5
building the module in question it displays: Compiling ion2-calendar : main as commonjs

The resulting error is:

ERROR in Cannot resolve type entity ɵngcc1.CalendarModal to symbol

The repo for the library in question:
https://github.com/hsuanxyz/ion2-calendar

🌍 Your Environment

Angular Version:




Angular CLI: 9.0.0-next.8
Node: 11.6.0
OS: darwin x64
Angular: 9.0.0-next.10
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.2
@angular-devkit/build-angular     0.900.0-next.8
@angular-devkit/build-optimizer   0.900.0-next.8
@angular-devkit/build-webpack     0.900.0-next.8
@angular-devkit/core              8.3.2
@angular-devkit/schematics        8.3.2
@angular/cdk                      8.2.2
@angular/cli                      9.0.0-next.8
@ngtools/webpack                  9.0.0-next.8
@schematics/angular               8.3.2
@schematics/update                0.900.0-next.8
rxjs                              6.5.3
typescript                        3.5.3
webpack                           4.41.0

Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    freq2: mediumregressionIndicates than the issue relates to something that worked in a previous versiontype: bug/fix

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions