Skip to content

Upgrade to Angular 19 #3054

Open
Open
@KortaDB

Description

@KortaDB

To update our application to Angular 19, I have upgraded the DB UI core library to the latest version 3.3.4. Up to Angular 18 this works fine, but with version 19 I get the following error messages when building the application:


Could not resolve ~@db-ui/core/dist/icons/functional/images/navigation/db_ic_expand_more_20.svg [plugin angular-css-resource]

src/app/user-management/user-list/user-list.component.scss:5699:52:

5699 │ ...e-20, url("../../../../node_modules/@db-ui/core/sources/_patt...

You can remove the tilde and use a relative path to reference it, which should remove this error.
Preprocessor stylesheets may not show the exact file location of the error.
The plugin "angular-compiler" was triggered by this import


The error is caused by importing the following file:
@import ‘node_modules/@db-ui/core/sources/css/enterprise/db-ui-core-include.scss’;

Since the tilde is inside the UI core library, I probably have no way to fix the error from the outside.

Translated with DeepL.com (free version)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions