pixelfed / support

Issue tracker for installations of Pixelfed, before a bug is identified.
https://docs.pixelfed.org/running-pixelfed/troubleshooting.html
8 stars 3 forks source link

Error Installing Pixelfed setup in windows10 #83

Open ER3777 opened 4 years ago

ER3777 commented 4 years ago

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.

trwnh commented 4 years ago

windows isn't officially supported for installation, but did you run composer?

ER3777 commented 4 years ago

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

trwnh commented 4 years ago

so enable those extensions

ER3777 commented 4 years ago

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:

0 D:\xampp\htdocs\pixelfed\artisan(20): require_once()

1 {main}

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:

0 D:\xampp\htdocs\pixelfed\artisan(20): require_once()

1 {main}

thrown in D:\xampp\htdocs\pixelfed\bootstrap\app.php on line 14

dansup commented 4 years ago

@ER3777 Have you tried running composer dump-autoload -o ?