updivision / estarter-ecommerce-for-laravel

The best way to start your custom e-commerce on Laravel. You get a ready to clone Laravel installation with a functional shop backend and a DIY frontend.
Other
414 stars 170 forks source link

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 5 years ago

Raffian-moin commented 5 years ago

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 commented 5 years ago

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

cp .env.example .env