DEV Community

Cover image for Bug name folder Windows 11
Renan Duarte
Renan Duarte

Posted on

Bug name folder Windows 11

For some reason, while installing an Astro Project , i've inserted invalid name for the folder, and some way, the framework had done it a folder with a invalid name, ocurring a infinite loop in terminal, when you try to delete a folder with reference to "." , the system cannot find it and you cant delete this.

The solution is to enter in WSL in a linux distro, inside the same terminal and delete the folder :)

cd /mnt/c/Users/user-name/source/repos/Project/target_folder$

and

rm -r target_folder

And solved it.

Maybe it can help someone out there, if some way you got invalid namefolders and can't delete them.

Top comments (0)