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

ErrorException Writing to directory . is not allowed. #35

Closed
mahmoud-adel44 opened this issue Jan 23, 2022 · 4 comments
Closed

ErrorException Writing to directory . is not allowed. #35

mahmoud-adel44 opened this issue Jan 23, 2022 · 4 comments

Comments

@mahmoud-adel44
Copy link

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
Copy link
Owner

tmdh commented Jan 23, 2022

What are the steps to reproduce the issue?

@mahmoud-adel44
Copy link
Author

am trying to use tinker and i get this Exception

@benjamintemitope
Copy link

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

@tmdh
Copy link
Owner

tmdh commented Oct 4, 2022

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

@tmdh tmdh closed this as completed Oct 4, 2022
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

3 participants