'npm error ENOTEMPTY on babel-loader while npm install

I am trying to install a new dependency and I get this error. Any hint to fix this please ?

Thanks!

enter image description here

==> EDIT : I tried to delete that folder and run the npm install emailjs again and it pointed out the same error but for another folder. And it goes on and on and on while deleting the specific folder and trying npm again :

enter image description here



Solution 1:[1]

Try to delete all content in the /babel-loader directory and do it again! but make a backup of the directory before deleting..

Solution 2:[2]

I could not figure out a solution to this. I started a new project from scratch and copied all documents.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jan Arend
Solution 2 Maxime Crtgn