dveldhoen/easyinvoice

Cannot read properties of undefined (reading 'createInvoice')

Closed this issue · 3 comments

Hi,

I am trying to use this package in my NestJS backend with Typescript and the easyinvoice import is logging to undefined and I am getting the error "Cannot read properties of undefined (reading 'createInvoice')."

Any idea why this could be? I've tried uninstalling and reinstalling the package a few different times, but am still having the same issue. I am working with the newest version of easyInvoice: 3.0.23.

Thanks

Thanks for your message, we will have a look ASAP and try to fix it. Can you send me a bit of sample code?

I just tried to import easyinvoice in a NestJS application, that worked fine for me. Types were recognized. Please provide me with some code so I can reproduce. Also the ts.config would help.

I'm going to close this issue until further details are provided.