Laravel artisan commands error : Failed to parse dotenv file due to an invalid name
Osman Forhad
Posted on March 31, 2022
every time I run php artisan commands I got this error
The environment file is invalid! Failed to parse dotenv file due to an invalid name.
.
to solve this i just replace the APP_NAME which is like below:
APP_NAME=MY Application
to
APP_NAME="MY Application"
and its solve my issues
.
Thank you
Happy Coding
.
osman forhad
Full-Stack Developer💻 (Mobile App & Web App)
developer.osmanforhad@gmail.com
💖 💪 🙅 🚩
Osman Forhad
Posted on March 31, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.