Comments (11)
Thanks for the reply! Good to know, this was driving me crazy. Will leave this here for others in the meantime, looking forward to the 0xd
release 🚀🎉
from jco.
Landed in #86.
from jco.
Windows 10
jco version 0.7.0
from jco.
Steps to reproduce:
- clone https://github.com/bytecodealliance/cargo-component
cd example
cargo component build
jco wit ./target/wasm32-wasi/debug/service.wasm
(jco componentWit) ComponentError: Failed to decode wit component
unknown component version: 0xd (at offset 0x0)
at componentWit (node_modules/@bytecodealliance/jco/cli.mjs:45393:13)
at componentWit (node_modules/@bytecodealliance/jco/cli.mjs:47121:18)
at async node_modules/@bytecodealliance/jco/cli.mjs:47475:9
from jco.
This is because the upgrade for JCO from version 0xc
to version 0xd
of the component model is still in progress, the new release is just about ready to go, should be up soon.
from jco.
Linking this to bytecodealliance/wasm-tools#1027 aka "0xc
is dead long live 0xd
" for reference
from jco.
Thank you! You are the guy! Can't wait to use it =)
from jco.
Hey, first of all thanks for the great work. Could it be that something went wrong with building the 0.8.0 release for npm. I installed the 0.8.0 version from npm, but when I run jco --version
I get 0.7.0
.
from jco.
Yeah me too, which is weird because it was supposed to be fixed here #88
from jco.
I mean here: #89
It hasn't been merged yet, but should fix it once merged
For what it's worth, I think the v8 functionality still works even though it displays v7
from jco.
Great, thanks for the info
from jco.
Related Issues (20)
- How do I use `js-component-bindgen`? HOT 1
- Incorrect codegen for `wasi:http` resource `RequestOptions` HOT 2
- JCO serve error on composed component HOT 1
- Are TypeScript definitions generated by transpile supposed to include comments from the WIT file? HOT 2
- Validity of file descriptors in the context of the `SyncKit` worker HOT 3
- Unsupported URL wasi when running in Node.js HOT 2
- Transpile bindings for `u32` map to `number` in *.d.ts HOT 3
- Non-conformant exceptions should unwrap as traps HOT 2
- Jco transpile: implementation of wasi-nn for Web HOT 2
- Source phase imports output
- Performance
- JS/WIT Reference
- Lifting `list<borrow<res>>` during transpilation emits invalid code HOT 3
- Resource transferring seems not working with wasi-virt HOT 1
- Crash on startup with an out-of-memory error when environment variables are large HOT 3
- Provide wasm-tools APIs in the browser HOT 2
- `definedResourceTables` codegen generates invalid JS with `--instantiation async` HOT 1
- plain enums are generating complex typescript HOT 8
- Question: `jco types` generating namespaces instead of modules? HOT 1
- Better instantiation workflows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jco.