Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Rich-Harris opened this issue Nov 9, 2024 · 0 comments · Fixed by #288
Closed

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

Rich-Harris opened this issue Nov 9, 2024 · 0 comments · Fixed by #288
Labels
bug Something isn't working

Comments

@Rich-Harris
Copy link
Member

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant