-
Notifications
You must be signed in to change notification settings - Fork 7
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
SyntaxError: Named export 'fromBuffer' not found. #86
Comments
@Abdulazeez-98 yes the screenshot above is of the npm package. I modified it and it worked so yeah not sure why it bundles it like that but it does not work. Thanks for the PR! |
@boringContributor |
Ah yes the usual discrepancies between cjs and esm, personally I promote the use of esm for everything but I understand why you would need a cjs bundle. Tad annoying that libraries like this don't support both 😕 Thanks @Abdulazeez-98 for the PR, I'll test it and get that merged if everything looks good |
Published in |
Hey there,
first off all BIG thanks for this project. I made a video streaming backend and created the requests manually, but switched now to your client as it makes my life much easier.
However, I'm having a problem:
I'm using NextJS (13.1.6) API routes and get the following error:
My code looks like this:
Do you have an idea how to solve that or is there a way to allow CommonJS modules properly?
Thanks and all the best!
The text was updated successfully, but these errors were encountered: