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

Wasm component issue when updating to jco 0.10.3 #239

Open
danbev opened this issue Aug 14, 2023 · 0 comments
Open

Wasm component issue when updating to jco 0.10.3 #239

danbev opened this issue Aug 14, 2023 · 0 comments

Comments

@danbev
Copy link
Contributor

danbev commented Aug 14, 2023

When trying to update jco to version 0.10.3 the following error is generated:

make wit-javascript-bindings 
cd wit-examples/javascript && npm run bindings

> [email protected] bindings
> npx jco transpile $npm_package_config_wasm_file -o dist && npx tsc

(jco transpile) ComponentError: failed to extract interface information from component

Caused by:
    record type must have at least one field (at offset 0x871)
    at generate (file:///home/danielbevenius/work/security/seedwing/seedwing-policy/engine/wit-examples/javascript/node_modules/@bytecodealliance/jco/obj/js-component-bindgen-component.js:1853:11)
    at transpileComponent (file:///home/danielbevenius/work/security/seedwing/seedwing-policy/engine/wit-examples/javascript/node_modules/@bytecodealliance/jco/src/cmd/transpile.js:105:37)
    at async transpile (file:///home/danielbevenius/work/security/seedwing/seedwing-policy/engine/wit-examples/javascript/node_modules/@bytecodealliance/jco/src/cmd/transpile.js:24:21)
    at async file:///home/danielbevenius/work/security/seedwing/seedwing-policy/engine/wit-examples/javascript/node_modules/@bytecodealliance/jco/src/jco.js:117:9
make: *** [Makefile:53: wit-javascript-bindings] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant