Javet icon indicating copy to clipboard operation
Javet copied to clipboard

Asynchronous dynamic import

Open AsyncProxy opened this issue 9 months ago • 6 comments

I'm getting an error when I'm using an asynchronous dynamic import

import('fs').then(obj => { console.log(obj) })

Error [ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING]: A dynamic import callback was not specified. at importModuleDynamicallyCallback (node:internal/modules/esm/utils:231:9) at c.js:13:1 { code: 'ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING' }

AsyncProxy avatar May 09 '24 14:05 AsyncProxy