paritytech / substrate-up

Scripts for working with new Substrate projects
Apache License 2.0
67 stars 21 forks source link

fatal: destination path 'substrate-ui' already exists and is not an empty directory. #8

Closed ltfschoen closed 5 years ago

ltfschoen commented 5 years ago

If a user runs the command substrate-ui-new substrate then it may have created a subdirectory named substrate-ui with contents, whether it finished cloning or not. If the user runs the same command again and the subdirectory exists and has some contents then it will give error fatal: destination path 'substrate-ui' already exists and is not an empty directory.

Refer to links where this issue was raised: