-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import as ES module give me an undefined object #67
Comments
@mbsanchez01 |
I don't know why it is happening to me, I'm in a NestJs project, and to make it work I need to work around it:
I'm using version 3.0.1 |
@mbsanchez01 |
Please check this repository out: https://github.com/mbsanchez01/iso639bug |
@mbsanchez01 You can try adding |
When I import this module using the next code
I've got the error "Cannot read properties of undefined (reading 'getAllCodes')" however, if I import it using require all works fine, but, it is not normal to have code like this, it is not harmonics.
Could you fix this please ?
The text was updated successfully, but these errors were encountered: