Skip to content

Vers execute does not find VM alias properly or recognize HEAD VM #149

@asebexen

Description

@asebexen

This issue, including its title, is merely copied over verbatim from a backend repo. It was more appropriate to post here. I am not the original author.


The following script generates an error:

vers init

vers run --vm-alias web-socket-server

# Point HEAD to the newly created VM
vers checkout web-socket-server

vers execute web-socket-server "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash"
Usage:
  vers execute <vm-id|alias> <command> [args...] [flags]

Even without specifying the VM alias, an error still occurs where vers execute ... does not recognize the HEAD VM is set to web-socket-server after doing vers checkout web-socket-server (this might be a separate issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions