O
O
Oogarchenko2022-04-12 17:24:30
React
Oogarchenko, 2022-04-12 17:24:30

Where do the _cacache, _locks folders come from and how to get rid of them?

When creating an application using npx create-react-app my-app, in the directory from which the command is called and in the directory that is created (my-app), the _cacache, _locks, _npx folders appear, which contain ~ 5000 files that immediately fall into staged, and every time you install a package, another hundred or two .
You can, of course, put the whole thing into gitignore every time, but it's pretty boring. Never had this problem before and I have no idea what caused it.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question