php artisan key:generate not working
agentaldo
PROOP

a year ago

When deploying my app and adding the php artisan key:generate command, it generates an error as if the APP_KEY environment variable was not found. Does anyone know the solution to this problem?

NIXPACKS_BUILD_CMD="composer install && npm install && npm run build --verbose && chmod -R 777 storage/ && chmod -R 777 bootstrap/cache && php artisan key:generate && php artisan config:cache && php artisan storage:link && php artisan migrate:fresh --force --verbose && php artisan db:seed --force"

0 Replies

Loading...