Skip to content

wasmer run doesn't pick the latest package from the registry #4288

Open
@yamt

Description

@yamt

Describe the bug

looking at https://wasmer.io/yamt/toywasm
as of writing this, the latest version of this package is 34.0.0.

however, for some reasons,
wasmer run yamt/toywasm picks and runs 29.0.0.

% wasmer run yamt/toywasm -- --version                           [~]
toywasm v29.0.0
:
:
:

specifying later versions doesn't work either.

wasmer run yamt/toywasm@30 -- --version
error: Unable to find "yamt/toywasm@^30" in the registry
╰─▶ 1: Not found

i tried two versions, one from https://github.com/wasmerio/wasmer/releases/tag/v4.2.3
another from homebrew. the symptom was the same.

wasmer 4.2.3 (7cb550d 2023-10-27)
binary: wasmer-cli
commit-hash: 7cb550db60656352cc527eaf869981d39448e38d
commit-date: 2023-10-27
host: x86_64-apple-darwin
compiler: singlepass,cranelift,llvm
wasmer 4.1.2 (??????? 2023-08-21)
binary: wasmer-cli
commit-hash: 
commit-date: 2023-08-21
host: x86_64-apple-darwin
compiler: cranelift

Steps to reproduce

see above.

Expected behavior

pick the latest version.

Actual behavior

for some reasons it can only see up to 29.0.0.

Additional context

webassembly.sh picks the latest version as expected.
https://webassembly.sh/?run-command=toywasm%20--version

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions