Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ENOTEMPTY: directory not empty, rmdir '.gadget/backup/.gadget/client/node_modules' #1786

Closed
samuelroeland opened this issue Dec 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@samuelroeland
Copy link

Error ID

9b85e303-50cd-4f33-9dee-705bd2c7c776

What happened?

To start developing locally, running ggt command gives me the following error:

An unexpected error occurred.
Error: ENOTEMPTY: directory not empty, rmdir '.gadget/backup/.gadget/client/node_modules'

And the terminal stops the operation.

What did you expect to happen?

I expect that my ggt runs normally so I can develop locally.

Steps to reproduce

run ggt dev

Anything else?

No response

@samuelroeland samuelroeland added the bug Something isn't working label Dec 4, 2024
@scott-rc
Copy link
Collaborator

scott-rc commented Dec 4, 2024

Sorry about this! We seem to have some bugs related to the .gadget/backup/ directory. This directory is used to store files that have been deleted from syncing the filesystem.

If you use don't need these backup files (i.e. you use git), you can delete the .gadget/backup/ directory and restart ggt dev.

@scott-rc
Copy link
Collaborator

Sorry for the delay!

I just released v1.4.0 which has a potential fix for this issue: https://github.com/gadget-inc/ggt/releases/tag/v1.4.0

If you continue to run into this issue after upgrading please re-open it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants