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

Error while reading .env file in windows 11 #380

Open
Erkinbek opened this issue May 5, 2023 · 0 comments
Open

Error while reading .env file in windows 11 #380

Erkinbek opened this issue May 5, 2023 · 0 comments

Comments

@Erkinbek
Copy link

Erkinbek commented May 5, 2023

I'm using Windows 11, PHP 8.1. When i run php expose share http://localhost --subdomain=subdomain i was getting error Dotenv\Exception\InvalidPathException: Unable to read any of the environment file(s) at [C:\Users\user\Desktop\expose-master.env]. in C:\Users\user\Desktop\expose-master\vendor\vlucas\phpdotenv\src\Store\FileStore.php on line 68.
When testing windows 10 or ubuntu 22 it's working perfect. I was tested docker container too. Nothing helps

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