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

Breaks git repo (CLI) #5215

Closed
7 tasks done
nikolai935 opened this issue Oct 7, 2021 · 0 comments · Fixed by #7971
Closed
7 tasks done

Breaks git repo (CLI) #5215

nikolai935 opened this issue Oct 7, 2021 · 0 comments · Fixed by #7971
Labels
p2-nice-to-have Not breaking anything but nice to have (priority) pending triage

Comments

@nikolai935
Copy link

Describe the bug

When you init a vite project it removes all git files which breaks the repo

Reproduction

git init
yarn create vite .

System Info

Linux (Fedora Workstation)

Used Package Manager

yarn

Logs

yarn create v1.22.11
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "expo-cli > xdl > @expo/dev-server > @expo/metro-config > [email protected]" has unmet peer dependency "@babel/core@*".
[4/4] Building fresh packages...

success Installed "[email protected]" with binaries:
      - create-vite
      - cva
✔ Current directory is not empty. Remove existing files and continue? … no
✖ Operation cancelled
Done in 2.86s.

Validations

@haoqunjiang haoqunjiang added the p2-nice-to-have Not breaking anything but nice to have (priority) label Oct 10, 2021
@github-actions github-actions bot locked and limited conversation to collaborators May 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p2-nice-to-have Not breaking anything but nice to have (priority) pending triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants