tmdh / laravel-kit

A desktop Laravel admin panel app
https://tmdh.github.io/laravel-kit/
GNU General Public License v2.0
1.24k stars 136 forks source link

ErrorException Writing to directory . is not allowed. #35

Closed mahmoud-adel44 closed 1 year ago

mahmoud-adel44 commented 2 years ago

ErrorException

Writing to directory . is not allowed.

at C:\Users\EGYPT_LAPTOP.config\valet\Sites\ebid\vendor\psy\psysh\src\ConfigPaths.php:362 358▕ @\mkdir($dir, 0700, true); 359▕ } 360▕ 361▕ if (!\is_dir($dir) || !\is_writable($dir)) { ➜ 362▕ \trigger_error(\sprintf('Writing to directory %s is not allowed.', $dir), \E_USER_NOTICE); 363▕ 364▕ return false; 365▕ } 366▕

1 C:\Users\EGYPT_LAPTOP.config\valet\Sites\ebid\vendor\psy\psysh\src\ConfigPaths.php:362 trigger_error("Writing to directory . is not allowed.")

2 C:\Users\EGYPT_LAPTOP.config\valet\Sites\ebid\vendor\psy\psysh\src\ConfigPaths.php:391 Psy\ConfigPaths::ensureDir(".")

tmdh commented 2 years ago

What are the steps to reproduce the issue?

mahmoud-adel44 commented 2 years ago

am trying to use tinker and i get this Exception

benjamintemitope commented 1 year ago

Fixed! If you are using Windows, run Laravel Kit as an administrator.

tmdh commented 1 year ago

It's no longer required to run the app as an administrator. This issue is fixed in v2.0.7.