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

Unable to find "registry name" in the registry #423

Open
s4847043 opened this issue Jun 24, 2024 · 2 comments
Open

Unable to find "registry name" in the registry #423

s4847043 opened this issue Jun 24, 2024 · 2 comments

Comments

@s4847043
Copy link

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?

@dolsup
Copy link

dolsup commented Jun 29, 2024

https://docs.wasmer.io/sdk/wasmer-js/tutorials/package

The bottom of this page should be helpful

@jeff-hykin
Copy link

jeff-hykin commented Oct 30, 2024

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/[email protected]

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)

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

3 participants