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

mkdir(): File exists #717

Open
CicerBro opened this issue Nov 13, 2024 · 0 comments
Open

mkdir(): File exists #717

CicerBro opened this issue Nov 13, 2024 · 0 comments

Comments

@CicerBro
Copy link

I keep getting this mkdir() error intermittently when saving files while running the npm run watch command. Sometimes I have to re-save the file 5+ times before it actually runs without errors.

Can't see a reason why as it doesn't always happen.

                         
   Laravel Mix v6.0.49   
                         

✔ Compiled Successfully in 99ms
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────┐
│                                                                                                                                                                                           File │ Size     │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┤
│                                                                                                                                                                                    /js/main.js │ 289 KiB  │
│                                                                                                                                                                                   css/main.css │ 28.9 KiB │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────┘
webpack compiled successfully

Building local site 
Writing files to destination...


   ErrorException 

  mkdir(): File exists

  at vendor/illuminate/filesystem/Filesystem.php:651
    647▕         if ($force) {
    648▕             return @mkdir($path, $mode, $recursive);
    649▕         }
    650▕ 
  ➜ 651▕         return mkdir($path, $mode, $recursive);
    652▕     }
    653▕ 
    654▕     /**
    655▕      * Move a directory.



Jigsaw build failed, see above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant