luceos I get this error
Fatal error: Uncaught Error: Class 'Flarum\Forum\Server' not found in C:\xampp\htdocs\beta\index.php:14 Stack trace: #0 {main} thrown in C:\xampp\htdocs\beta\index.php on line 14

How do i fix it?

PHP 7.1

    luceos Now such a mistake
    http://localhost/flarum/public/
    Fatal error: Trait 'Flarum\Core\Access\AssertPermissionTrait' not found in C:\xampp\htdocs\flarum\vendor\flarum\approval\src\Listener\ApproveContent.php on line 21
    At the beginning there was a database settings page, then an error

      Pirat looks like you didn't install the right dependencies.. Try upgrading flarum/approval to dev-master.

        luceos I added so
        "flarum/flarum-ext-approval": "dev-master as 0.1",
        "flarum/approval": "dev-master as 0.1"

        Now such a mistake
        Error booting Flarum: Cannot register two routes matching "/flags" for method "GET"

          Okay, I will not install the master version anyway there are a lot of errors most likely
          I will use the stable version

            Pirat Did you set your document root in apache2.conf correctly? It should be pointing to /public

            Pirat Error booting Flarum: Cannot register two routes matching "/flags" for method "GET"

            there are two extensions that register the flags route, most likely you have the official flags extension available and your own

            7 days later

            @luceos I'm experiencing the same error. I didn't add or registered a different /flags route. I checked and flarum/approval requires flarum/flags.

              bkintanar Check your vendor directory, you probably (definitely) have another flags extension installed.

                Kyrne Thanks! But as I've mentioned flarumn/approval requires flarum/flags but according to the composer.json file I need to include flarum/flarum-ext-flags as well. So yeah, I know there's a conflict I just don't know how to fix it.

                bkintanar thanks for not explaining the solution 🤟

                You have to rename all flarum/flarum-ext- extensions to flarum/, so flarum/flarum-ext-tags becomes flarum/tags. Then run composer update.

                  4 days later

                  how to install via composer on Windows?