Skip to content

Document sv command name collision with runit #259

@craumix

Description

@craumix

The sv command is the same as the one used by runit and therefore running npx sv will not actually run the Svelte CLI and you will get a very confusing error message instead:

❯ npx sv create my-app
fail: my-app: unable to change to service directory: file does not exist

Running the CLI requires running it as, for example, npx sv@latest, this is not a huge problem but might be worth mentioning in the docs, for example in the "Creating a project" section, to avoid problems and unnecessary support requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions