npx create-react-app my-app
commits .yarn directory with all the dependecines to git
#11010
Labels
npx create-react-app my-app
commits .yarn directory with all the dependecines to git
#11010
Describe the bug
Running
npx create-react-app my-app
creates a.yarn
directory with about 80 megabytes of dependencies and commits it to git.Did you try recovering your dependencies?
Not related to issue
Which terms did you search for in User Guide?
(Write your answer here if relevant.)
Environment
Steps to reproduce
(Write your steps here:)
npx create-react-app my-app
.gitignore
should probably contain/.yarn
, but it doesn't.Expected behavior
I expect that packages/dependencies are not committed to git.
Either
.yarn
directory should be added to.gitignore
ornpx
should usenpm
to install packages.Actual behavior
After running
npx create-react-app my-app
there bunch of packages committed to git.Reproducible demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
The text was updated successfully, but these errors were encountered: