You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am updating my project from VITE4 to VITE5 using your library.
Compilation is correct but in the browser got the error message: Uncaught TypeError: SlowBuffer is not a function
When I look at the stacktrace I can see you are using new SlowBuffer(1024) for var TAP. This call is deprecated since version 6 of node.
Is there a possibility for a workaround or a fix? The fix would be done very fast, cause you can use Buffer.allocUnsafeSlow instead.
I already was importing vite-plugin-node-polyfills, but that does not resolve the error.
Best regards
The text was updated successfully, but these errors were encountered:
Hi everybody,
I am updating my project from VITE4 to VITE5 using your library.
Compilation is correct but in the browser got the error message:
Uncaught TypeError: SlowBuffer is not a function
When I look at the stacktrace I can see you are using
new SlowBuffer(1024)
forvar TAP
. This call is deprecated since version 6 of node.Is there a possibility for a workaround or a fix? The fix would be done very fast, cause you can use
Buffer.allocUnsafeSlow
instead.I already was importing vite-plugin-node-polyfills, but that does not resolve the error.
Best regards
The text was updated successfully, but these errors were encountered: