Open ER3777 opened 4 years ago
windows isn't officially supported for installation, but did you run composer?
Yes i did run it but i again encountered errors post updating composer as well as you can see the errors below.
Your requirements could not be resolved to an installable set of packages.
Problem 1
Installation request for laravel/horizon ^3.3 -> satisfiable by laravel/ho rizon[v3.3.0, v3.3.1, v3.3.2, v3.4.0, v3.4.1, v3.4.2, v3.4.3, v3.4.4, v3.4.5, v3 .4.6, v3.4.7, v3.5.0, v3.6.0, v3.6.1, v3.7.0, v3.7.1, v3.7.2].
To enable extensions, verify that they are enabled in your .ini files:
php --ini
inside terminal to see which files are used by PH
P in CLI mode.so enable those extensions
I had enabled all the extensions post which i again get the below error, when trying to run this command php artisan key:generate
D:\xampp\htdocs\pixelfed>php artisan key:generate PHP Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in D:\xampp\htdocs\pixelfed\bootstrap\app.php:14 Stack trace:
thrown in D:\xampp\htdocs\pixelfed\bootstrap\app.php on line 14
Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in D:\xampp\htdocs\pixelfed\bootstrap\app.php:14 Stack trace:
thrown in D:\xampp\htdocs\pixelfed\bootstrap\app.php on line 14
@ER3777 Have you tried running composer dump-autoload -o
?
As i cloned the project folder via github and the error throwing at
Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in D:\xampp\htdocs\pixelfed\bootstrap\app.php:14 Stack trace: #0 D:\xampp\htdocs\pixelfed\public\index.php(36).
this error throws as soon as i type command php artisan key:generate. Any help thanks in advance.