You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.
It looks like the library depends on tslib but that dependency is not stated in package.json.
After a bit of research I found out that the tsconfig option importHelpers introduces code generation optimizations that depend on tslib. Since that option is enabled in mt940-js I think it may be necessary to add tslib as a dependency for the library to work out of the box. What do you think ?
Thanks for the work invested in this very nice library!
Regards,
Esteban
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi @webschik,
I ran into the following error while trying to use the library in a clean environment:
[ERROR] 18:40:31 Error: Cannot find module 'tslib' Require stack: - tests/node_modules/mt940-js/lib/tags/closing-available-balance.js - tests/node_modules/mt940-js/lib/parser.js - tests/node_modules/mt940-js/lib/index.js - tests/mt940-js.ts
It looks like the library depends on
tslib
but that dependency is not stated inpackage.json
.After a bit of research I found out that the
tsconfig
option importHelpers introduces code generation optimizations that depend ontslib
. Since that option is enabled inmt940-js
I think it may be necessary to addtslib
as a dependency for the library to work out of the box. What do you think ?Thanks for the work invested in this very nice library!
Regards,
Esteban
The text was updated successfully, but these errors were encountered: