question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Can't degit into an empty directory when omiting folder name

See original GitHub issue

I’m trying to clone a repo into the current directory I’m on, and I keep getting an error, event when the directory is empty.

This is the error I’m getting:

! destination directory is not empty, aborting. Use --force to override

@Rich-Harris I’m not mistaken, it’s a bug, right?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:4
  • Comments:5

github_iconTop GitHub Comments

1reaction
shuiRongcommented, Mar 26, 2020

image

same too. weird.

I receive the notification from Github and just test it with degit sveltejs/template my-app, nothing is wrong. I forgot to check the degit version. (It’s late, because I reinstall degit just now.)

1reaction
bernardoadccommented, Mar 25, 2020

what version are you on? v2.8.0 worked here

Read more comments on GitHub >

github_iconTop Results From Across the Web

6 Solutions on Folder Shows Empty But Files Are There ...
Here's how to unhide files to fix this folder is empty Windows 10/11 problem: Step 1: In the Windows search field, enter “folder...
Read more >
Can 7zip remove empty directories after extracting an archive?
The problem comes after everything is extracted -- I'm left with some empty folders in my output directory. Is there a way for...
Read more >
Folder Shows Empty but Files Are There Windows 10/8/7
As a result, the folder is empty but has size. The possible causes of the folder show empty but files are there is...
Read more >
4878 – CVS doesn't handle empty folders - Bugs - Eclipse
This seems to indicate that it got into a confusing state because I first created W.txt as an empty folder, then replaced it...
Read more >
Vomiting in adults - Illnesses and conditions | NHS inform
One of the most common causes of vomiting in adults is gastroenteritis. This is an infection of the gut usually caused by bacteria...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found