You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project structure looks like this. The wit package foo is implemented in another project, and I will combine the implementation component with this component together using wasm-tools later.
But it seems that I can't use jco and ComponentizeJS to accomplish this task..
(jco componentize) ComponentError: package not found
--> //?/C:/Users/<USER_NAME>/Desktop/componentized-js-test/wit/world.wit:4:10
|
4 | import wasi:foo/bar@0.1.0;
| ^-------
at spliceBindings (file:///C:/Users/<USER_NAME>/AppData/Local/pnpm/global/5/.pnpm/@bytecodealliance+componentize-js@0.8.3/node_modules/@bytecodealliance/componentize-js/lib/spidermonkey-embedding-splicer.js:3800:11)
at componentize (file:///C:/Users/<USER_NAME>/AppData/Local/pnpm/global/5/.pnpm/@bytecodealliance+componentize-js@0.8.3/node_modules/@bytecodealliance/componentize-js/src/componentize.js:50:64)
at async componentize (file:///C:/Users/<USER_NAME>/AppData/Local/pnpm/global/5/.pnpm/@bytecodealliance+jco@1.2.4/node_modules/@bytecodealliance/jco/src/cmd/componentize.js:15:25)
at async file:///C:/Users/<USER_NAME>/AppData/Local/pnpm/global/5/.pnpm/@bytecodealliance+jco@1.2.4/node_modules/@bytecodealliance/jco/src/jco.js:186:9
I was clued in to "deps" when I stumbled upon the wit-deps repo. This issue is the sole place I've been able to find a pointer about how to use them. Is there a canonical place to go to read more about how deps are supposed to be resolved?
First of all, thanks for this awesome project.
I'm wondering if I can reference packages to import like
cargo component
forComponentizeJS
(and also forcomponentize-py
but not tested yet).The project structure looks like this. The wit package
foo
is implemented in another project, and I will combine the implementation component with this component together usingwasm-tools
later.But it seems that I can't use
jco
andComponentizeJS
to accomplish this task..To reproduce, please head over to this repo.
The text was updated successfully, but these errors were encountered: