Skip to content

Build fails after updating to Angular 20/ new builder #27

Description

@DisplayName522

Hi, thanks for the library!
After updating to Angular 20 and the new build system ("builder": "@angular/build:application" instead of @angular-devkit/build-angular:browser) I got the following error:

X [ERROR] TS2307: Cannot find module './lib/generate' or its corresponding type declarations. [plugin angular-compiler]

node_modules/ibantools-germany/dist/esm/main.d.mts:18:43:
  18 │ import { generateBBAN, generateIBAN } from "./lib/generate";
     ╵                                            ~~~~~~~~~~~~~~~~

X [ERROR] TS2307: Cannot find module './lib/types' or its corresponding type declarations. [plugin angular-compiler]

node_modules/ibantools-germany/dist/esm/main.d.mts:19:75:
  19 │ ...LZ, BankNameBIC, IBANDetails, ProbablyString } from "./lib/types";
     ╵                                                        ~~~~~~~~~~~~~

X [ERROR] TS2307: Cannot find module './lib/validate' or its corresponding type declarations. [plugin angular-compiler]

node_modules/ibantools-germany/dist/esm/main.d.mts:20:66:
  20 │ ...ccountNumberBLZ, isValidBBAN, isValidIBAN } from "./lib/validate";
     ╵                                                     ~~~~~~~~~~~~~~~~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions