Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
March 31, 2022 07:45 pm GMT

Laravel artisan commands error : Failed to parse dotenv file due to an invalid name

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)
[email protected]


Original Link: https://dev.to/osmanforhad/laravel-artisan-commands-error-failed-to-parse-dotenv-file-due-to-an-invalid-name-47h7

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To