You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node:internal/modules/esm/utils:213
throw new ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING();
^
TypeError: A dynamic import callback was not specified.
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:213:9)
at setupContentExtractor (/.../node_modules/@unocss/webpack/dist/index.cjs:255:25)
at async Promise.all (index 0)
at async flushTasks (/.../node_modules/@unocss/webpack/dist/index.cjs:133:5)
at async Timeout.updateModules [as _onTimeout] (/.../node_modules/@unocss/webpack/dist/index.cjs:411:7) {
code: 'ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING'
}
UnoCSS version
0.58.5
Describe the bug
webpack 中的配置如下:
启动 webpack 时:
Reproduction
查看
node_modules/@unocss/webpack/dist/index.cjs
,报错的是这一行:手动改为
const { watch } = require('chokidar');
即可正常运行。System Info
No response
Validations
The text was updated successfully, but these errors were encountered: