Skip to content

Rokit errors when the same tool name under a different author exists, and only one is installed #49

@filiptibell

Description

@filiptibell

Consider the following situation:

  1. User has added lune-org/lune@version in a global manifest
  2. User has added filiptibell/lune@version in a project-specific manifest
  3. Only lune from the global manifest is installed by the user
  4. Try to run lune in the project-specific manifest

Rokit will now be managing lune and only has the version from lune-org installed - meaning that when a user tries to run it under the project, and it refers to a tool from a different author, it will fail to run. This is caused by the Rokit runner not automatically prompting for and installing the new tool when necessary:

// TODO: Prompt for trust and install tool if not already installed

Implementing the promt-trust-and-install mechanism here in the runner will fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions