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

file_get_contents(C:\xampp\htdocs\estarter-ecommerce-for-laravel/.env): failed to open stream: No such file or directory #20

Open
Raffian-moin opened this issue Jul 16, 2019 · 1 comment

Comments

@Raffian-moin
Copy link

php artisan key:generate
it shows the following error
file_get_contents(C:\xampp\htdocs\estarter-ecommerce-for-laravel/.env): failed to open stream: No such file or directory
in the directory path there is backslash.i think it is causing the problem.how do i solve it?

@MohammedAlzard
Copy link

You have to make a copy of the file .env.example, to run it php artisan key:generate.

cp .env.example .env

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

2 participants