-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update utils.js #2981
Update utils.js #2981
Conversation
Fixed following error ReferenceError: TextEncoder is not defined
|
oh nice fix thank you!! |
When I can expect these changes to go live ?? |
Are you sure? The Node documentation shows that |
This reverts commit 522e2dc.
This reverts commit 522e2dc.
I`m seeing this issue in NodeJs 16 and NodeJs 18 version Debugger attached.
|
to fix this issue, I have added the following code in packages/pg/lib/crypto/utils.js file const { TextEncoder, TextDecoder } = require('util'); |
@sudarshanvn - we actually had the same issue, this comment solved the problem for us: https://stackoverflow.com/a/73454657 |
Fixed following error ReferenceError: TextEncoder is not defined
This reverts commit 522e2dc.
Fixed following error