Sequelize V7 | Error: Dynamic require of "node:util" is not supported #16892
Answered
by
ephys
savvin-dev
asked this question in
Help & Questions
-
Hello. I use ESBuild for building TS and bundling. But I get an error in runtime.
|
Beta Was this translation helpful? Give feedback.
Answered by
ephys
Dec 21, 2023
Replies: 1 comment
-
This seems to be what happens when you bundle a CJS file that uses node's built-ins into ESM using esbuild. Not much we can do on our end, it's up to the bundler to handle that correctly. evanw/esbuild#1921 could be helpful |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
savvin-dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This seems to be what happens when you bundle a CJS file that uses node's built-ins into ESM using esbuild. Not much we can do on our end, it's up to the bundler to handle that correctly. evanw/esbuild#1921 could be helpful