You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first intention was right. On windows the create-react-app process is currently locking the directory and therefor the deletion operation will not perform anything.
Simple fix would be to introduce a process.chdir(path.resolve(root, '..')); before the fs.removeSync(path.join(root));
When the CLI fails to create a new application, it should cleanup and delete the directory it had created.
Please help us fix this bug or resolve the test case!
https://github.com/facebookincubator/create-react-app/blob/master/tasks/e2e-installs.sh#L126-L130
The text was updated successfully, but these errors were encountered: