Skip to content

Preconditions are never met if creating project inside existing workspace #286

@Rich-Harris

Description

@Rich-Harris

If you have an existing repo and you try to create a new project inside it, creating the project dirties the working tree such that subsequent add-ons will fail the preconditions check. Repro (make sure you select an add-on like prettier):

mkdir my-workspace
cd my-workspace
git init
npx sv create apps/my-app

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