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

getFrame is undefined #28

Open
icidasset opened this issue Mar 15, 2024 · 1 comment
Open

getFrame is undefined #28

icidasset opened this issue Mar 15, 2024 · 1 comment

Comments

@icidasset
Copy link

icidasset commented Mar 15, 2024

Hey 👋 Thanks for this great package, and all the others 😄

I'm trying to parse some MP3 files in the browser and getting this error:
Screenshot 2024-03-15 at 14 06 20

Could this be a bundler issue, or something else?
Bundler used: https://rsbuild.dev/

EDIT: Does work with vite, don't know why rsbuild falls over this 🤔

@eshaz
Copy link
Owner

eshaz commented Apr 7, 2024

Hey, thanks for posting the issue.

I'm not sure why this would fail either. My guess is that it's a minifier bug where the getFrame variable is being improperly renamed. It might be the object destructuring happening here that's being minified improperly.

I'd need to trace through the minified build to see where this reference is getting lost to really find out.

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