vanilophp/demo

It is unsafe to run Dusk in production

Closed this issue · 6 comments

i am getting these when trying to run artisan commands please help

Could you provide with more Information please?

F:\xampp_new\htdocs\vanilo_demo\demo>php artisan key:generate

In DuskServiceProvider.php line 43:

It is unsafe to run Dusk in production.

this is what i am getting in cmd

What is the value of APP_ENV in your .env file?

Local

Just delete .env.dusk.local.example and rename .env.exemple to => .env and run "php artisan key:generate" to console.

you must to set the .env file first