Warning .env not exist on artisan test #49870
Unanswered
luca-rigutti
asked this question in
Q&A
Replies: 2 comments
-
I get the same warning message in Azure App service container. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am having the same issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Laravel Version
10.42.0
PHP Version
8.3.2
Database Driver & Version
No response
Description
Hi,
I create a fresh new installation and start to make some test, but I have all warning for integration tests.
The error is the following:
file_get_contents(/var/www/.env): Failed to open stream: No such file or directory
I don't have an env file because I'm building this inside a container of docker, so the env is setup on the docker-compose.
I didn't find this problem in some old versions, I don't know if is something I setup or is this the version that have this problem.
Thank you.
Steps To Reproduce
Beta Was this translation helpful? Give feedback.
All reactions