Closed
Description
Description
npm run eject
silently fails when a config folder already exist.
Expected behavior
It's a common behavior to have a /config
folder at the base of a project.
npm run eject
should throw an error or even better, "merge" new files with existing ones.
Actual behavior
➜ react-starter git:(master) mkdir config
➜ react-starter git:(master) npm run eject
> react-scripts eject
Are you sure you want to eject? This action is permanent. [y/N]
y
Ejecting...
➜ react-starter git:(master)
Environment
node -v
: 5.0.0
npm -v
: 3.3.6
Operating system: macOS Sierra
Reproducible Demo
- Clone the repo
mkdir config
npm run eject
Thanks 🙏
Metadata
Metadata
Assignees
Labels
No labels