Open s4847043 opened 5 months ago
https://docs.wasmer.io/sdk/wasmer-js/tutorials/package
The bottom of this page should be helpful
I've got the headers configured and its still an issue for me.
And I can confirm the header options are being applied because turning them off creates a different error (e.g. SharedArrayBuffer errors).
With the correct headers, I can load packages that have 0 dependencies fine. Such as the python 0.1.0 package and the coreutils coreutils-v1.0.16.
But as soon as a package has a dependency, it breaks. This is on Chrome, NodeJS, and Deno using wasmer SDK 0.8.0
When trying to load wasmer-sh-v1.0.5
I get
wasmer.inline.mjs:1349 Uncaught Error: Unable to find "sharrattj/static-web-server-async@^1" in the registry
at e2.wbg.__wbg_new_28c511d9baebfa89 (wasmer.inline.mjs:1349:14)
at wasmer_js_bg.wasm:0x2fc5ec
at wasmer_js_bg.wasm:0x422ef5
at wasmer_js_bg.wasm:0x103b7b
at wasmer_js_bg.wasm:0x34bcda
at wasmer_js_bg.wasm:0x449a41
at wasmer_js_bg.wasm:0x4408aa
at R (wasmer.inline.mjs:120:5)
at o2 (wasmer.inline.mjs:112:14)
when trying to load sharrattj/bash@1.0.17
wasmer.inline.mjs:1349 Uncaught Error: Unable to find "sharrattj/coreutils@^1.0.16" in the registry
at e2.wbg.__wbg_new_28c511d9baebfa89 (wasmer.inline.mjs:1349:14)
at wasmer_js_bg.wasm:0x2fc5ec
at wasmer_js_bg.wasm:0x422ef5
at wasmer_js_bg.wasm:0x103b7b
at wasmer_js_bg.wasm:0x34bcda
at wasmer_js_bg.wasm:0x449a41
at wasmer_js_bg.wasm:0x4408aa
at R (wasmer.inline.mjs:120:5)
at o2 (wasmer.inline.mjs:112:14)
Unable to find "registry name" in the registry
I always get this error above regardless of what registry I used. Why is this happening. Does anybody face the same problem?