Skip to content

Sequelize V7 | Error: Dynamic require of "node:util" is not supported #16892

Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
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
Labels
None yet
2 participants