Option to overwrite conflicting files while creating new app
See original GitHub issueCurrently, creation of a new app will fail if the folder has files which will be added by create-react-app.
It would be nice to have an option which allows us to let create-react-app overwrite those conflicting files. Simple initialisations like npm init
and git init
before CRA in an existing folder can lead to this failure via conflicts.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
pacman "exists on filesystem" error - arch linux
From the man: Using --force will not allow overwriting a directory with a file or installing packages with conflicting files and directories.
Read more >How to force install conflicting packages with pacman ...
There is --overwrite option, but it is irrelevant to my case. And there are no actually conflicting files in conflicting packages that I...
Read more >Conflict Resolution in Citrix Files - Citrix Customer Support
Under Conflict Resolution, select a default option for conflicted files: Prompt Always, Overwrite, Discard, and Save a Copy. We recommend Prompt Always to ......
Read more >Troubleshoot common coauthoring errors - Microsoft Support
Upload Failed: Resolve Conflict · Select Resolve. · Select Next on the Conflicts tab to navigate through each change. · Accept or reject...
Read more >dpkg error: "trying to overwrite file, which is also in..."
Warning: This answer is dangerous and may lead to a broken system (because this will effectively install the package but new problems may...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Trying to run this in e.g. Cloud 9, I find that Cloud 9 continuously creates a .c9 folder (working area for the IDE) which reappears as soon as I remove it. Only alternative seems to be creating in a subfolder, then moving everything up a level 😕
I’ll close this but filed https://github.com/facebookincubator/create-react-app/issues/2780 for better error message. Thanks for explaining!