Skip to content
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

Error when use function #2310

Closed
dangtinh97 opened this issue Dec 12, 2024 · 3 comments
Closed

Error when use function #2310

dangtinh97 opened this issue Dec 12, 2024 · 3 comments

Comments

@dangtinh97
Copy link

TypeError: (0 , music_metadata_1.parseBuffer) is not a function

Code is const data = await parseBuffer(file.buffer);

@Borewit
Copy link
Owner

Borewit commented Dec 12, 2024

CommonJS or ESM project?

@dangtinh97
Copy link
Author

I use ESM Project, Project use Nestjs

@Borewit
Copy link
Owner

Borewit commented Dec 13, 2024

You need to raise that issue at NestJS, nothing I can do.

@Borewit Borewit closed this as completed Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants