We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用 koa 创建一个项目,然后通过webpack构建输出esmodule
koa
webpack
esmodule
在构建产物中,createRequire用来在 esmodule 中使用 require
createRequire
require
import{createRequire as __WEBPACK_EXTERNAL_createRequire}from"module";
node dist/index.mjs
wasmedge_quickjs.wasm
➜ wasmedge-quickjs git:(main) ✗ wasmedge --dir .:. wasmedge_quickjs.wasm example_js/http_server_koa/dist/index.mjs [2024-05-10 11:32:36.359] [error] AOT section -- number of codes not matching:6786 6740, use interpreter mode instead. ReferenceError: could not load module filename 'module'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
使用
koa
创建一个项目,然后通过webpack
构建输出esmodule
在构建产物中,
createRequire
用来在esmodule
中使用require
wasmedge_quickjs.wasm
不行➜ wasmedge-quickjs git:(main) ✗ wasmedge --dir .:. wasmedge_quickjs.wasm example_js/http_server_koa/dist/index.mjs [2024-05-10 11:32:36.359] [error] AOT section -- number of codes not matching:6786 6740, use interpreter mode instead. ReferenceError: could not load module filename 'module'
The text was updated successfully, but these errors were encountered: