It is unsafe to run Dusk in production
Closed this issue · 6 comments
tyrog07 commented
i am getting these when trying to run artisan commands please help
fulopattila122 commented
Could you provide with more Information please?
tyrog07 commented
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
fulopattila122 commented
What is the value of APP_ENV
in your .env
file?
tyrog07 commented
Local
InstantProgramming commented
Just delete .env.dusk.local.example and rename .env.exemple to => .env and run "php artisan key:generate" to console.
pedroreartes commented
you must to set the .env file first