getting TypeError: util __WEBPACK_IMPORTED_MODULE_0__.TextEncoder is not a constructor #72450
Unanswered
atulsilori
asked this question in
Help
Replies: 1 comment 6 replies
-
Are those utilities Node.js utilities as well? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am getting TypeError: util WEBPACK_IMPORTED_MODULE_0.TextEncoder is not a constructor,
I am using a custom library that exposes react component and other utilities, and it is bundled using rollup
and when i am importing a component from this custom lirbrary inside a client side component in next js (which i have to), next js version i am using is 13 and installed all node js core modules and updated next.config according to webpack 5.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions