Skip to content
New issue

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

[Bug]wasm-pack build nodejs with error #885

Open
gtmickey opened this issue May 21, 2024 · 0 comments
Open

[Bug]wasm-pack build nodejs with error #885

gtmickey opened this issue May 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gtmickey
Copy link

Follow doc build wasm

1. NodeJS Module
This module has the features of the NodeJS environment built-in. It is single-threaded and unfortunately cannot yet be used to generate Aleo program executions or deployments due to current Aleo protocol limitations. It can however still be used to perform Aleo account, record, and program management tasks.

Build Instructions
wasm-pack build --release --target nodejs -- --features "serial" --no-default-features

with error

error: failed to generate bindings for import of `__wbindgen_placeholder__::__wbindgen_module`

Caused by:
    `wasm_bindgen::module` is currently only supported with `--target no-modules` and `--target web`
Error: Running the wasm-bindgen CLI
Caused by: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit status: 1
@gtmickey gtmickey added the bug Something isn't working label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant