-
Notifications
You must be signed in to change notification settings - Fork 26
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 errro #8
Comments
Most likely you need to update Node.js to a newer version.
In previous versions of this module, the code was using `new Buffer`, which
is a deprecated function and which will be removed in new versions of
Node.js. In the latest version of this module, the code is now using
`Buffer.from` which is in line with current versions of Node.js.
…On Thu, Jul 2, 2020 at 1:34 PM player2 ***@***.***> wrote:
See Comment
620b90a#r40322848
<620b90a#r40322848>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKR3A3FFFVDWBPRWOZUMPLRZR5FTANCNFSM4OO3ATSA>
.
|
I have this problem too when running the code in browser. |
I found out that a very easy fix to this is to use the package All that needs to be done is to add the dependency, and then add the line
at the very beginning of |
See Comment
620b90a#r40322848
The text was updated successfully, but these errors were encountered: