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

buffer 4.9.1 can cause errors #93

Open
Borewit opened this issue Aug 11, 2019 · 0 comments
Open

buffer 4.9.1 can cause errors #93

Borewit opened this issue Aug 11, 2019 · 0 comments

Comments

@Borewit
Copy link

Borewit commented Aug 11, 2019

Calling a read function on the embedded buffer without any argument will throw an exception.
This is major incompatibility issue with node.js buffer.

Error message thrown: "RangeError: offset is not uint"

Corresponding issue: feross/buffer#237

I suggest to reconsider PR: #68, which does fix the issue

ortexx added a commit to ortexx/node-id3 that referenced this issue Sep 21, 2020
…rors

webpack/node-libs-browser#93
Webpack 4 now is a stable version. It uses node-libs for Buffer polyfill that is not completely compatible with the nodejs implemintation. In node-libs a lot of optional arguments are required, so we get an offset error in the browser calling buffer.readUInt32BE without an argument.
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

1 participant