Replies: 1 comment
-
Please create reproducible test repo, thank you |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all, I am on node
20.11.0
and just moved to webpack 5.91.0, and while building my production build I always receive the errorERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING
The changes I have made to my babel configs for the base, dev and prod environments are as follows:
new webpack.NamedModulesPlugin(),
node: { fs: 'empty' },
to ````node: {
global: false,
__dirname: false,
__filename: false,
},
node:internal/modules/esm/utils:213
throw new ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING();
^
TypeError: A dynamic import callback was not specified.
Beta Was this translation helpful? Give feedback.
All reactions