fundsaccess / angular-iban

IBAN directives and pipes for Angular
MIT License
17 stars 7 forks source link

compile error in angular 8 #3

Closed WKielen closed 4 years ago

WKielen commented 4 years ago

After upgrading my project from Angular 6 to Angular 8, this library gave an compile error:

ERROR in ./node_modules/angular-iban/fesm2015/angular-iban.js Module not found: Error: Can't resolve 'iban' in 'xxx\node_modules\angular-iban\fesm2015' i 「wdm」: Failed to compile.

kimljj commented 4 years ago

Hello @WKielen , Is it sitll a problem? I just tried angular(8.2.14) and angular-iban(0.1.6), i didn't have any problems. Could you pls retry?

WKielen commented 4 years ago

I was using version 0.2.0 when the error occured. After installing 0.1.6 I recompiled and unfortunately I got the same error.

Angular CLI: 8.3.20 Node: 10.16.0 OS: win32 x64 Angular: 8.2.14

WKielen commented 4 years ago

For some reason the dependency on "iban": "0.0.12" was not installed. After installing this library manually, it worked fine. Thanks.