Durino the reinstall of my os i’ve also reinstalled Flarum cli. But now it incompatibile with Flarum 1.8.2 development.

And also have some problem to find new class like AbstractResource et similae.

I think that the Flarum-cli should allow us to choose the development platform…isn’t it?

SychO Could not find package flarum/flarum with version 2.0.0.

composer create-project flarum/flarum:2.0.0 --stability=beta .

    Justoverclock that's odd, try composer clear-cache

    sami:~/www$ composer create-project flarum/flarum:^2.0.0 --stability=beta newflarum
    Creating a "flarum/flarum:^2.0.0" project at "./newflarum"
    Installing flarum/flarum (v2.0.0-beta.1)
      - Installing flarum/flarum (v2.0.0-beta.1): Extracting archive
    Created project in /home/sami/www/newflarum
    Loading composer repositories with package information
    Updating dependencies
    Lock file operations: 150 installs, 0 updates, 0 removals
      - Locking asispts/http-accept (v1.0.0)
      - Locking axy/backtrace (2.0.0)
      - Locking brick/math (0.12.1)
      - Locking carbonphp/carbon-doctrine-types (2.1.0)
      - Locking components/font-awesome (6.5.2)
      - Locking dflydev/dot-access-data (v3.0.3)
      - Locking dflydev/fig-cookies (v3.1.0)
      - Locking doctrine/cache (2.2.0)
      - Locking doctrine/dbal (3.9.3)
      - Locking doctrine/deprecations (1.1.4)
      - Locking doctrine/event-manager (2.0.1)
      - Locking doctrine/inflector (2.0.10)
      - Locking doctrine/lexer (3.0.1)
      - Locking dragonmantank/cron-expression (v3.4.0)
      - Locking egulias/email-validator (4.0.2)
      - Locking fakerphp/faker (v1.24.1)
      - Locking fig/http-message-util (1.1.5)
      - Locking filp/whoops (2.16.0)
      - Locking flarum/approval (v2.0.0-beta.1)
      - Locking flarum/bbcode (v2.0.0-beta.1)
      - Locking flarum/core (v2.0.0-beta.1)
      - Locking flarum/emoji (v2.0.0-beta.1)
      - Locking flarum/flags (v2.0.0-beta.1)
      - Locking flarum/gdpr (v2.0.0-beta.1)
      - Locking flarum/json-api-server (0.1.2)
      - Locking flarum/lang-english (v2.0.0-beta.1)
      - Locking flarum/likes (v2.0.0-beta.1)
      - Locking flarum/lock (v2.0.0-beta.1)
      - Locking flarum/markdown (v2.0.0-beta.1)
      - Locking flarum/mentions (v2.0.0-beta.1)
      - Locking flarum/messages (v2.0.0-beta.1)
      - Locking flarum/nicknames (v2.0.0-beta.1)
      - Locking flarum/pusher (v2.0.0-beta.1)
      - Locking flarum/statistics (v2.0.0-beta.1)
      - Locking flarum/sticky (v2.0.0-beta.1)
      - Locking flarum/subscriptions (v2.0.0-beta.1)
      - Locking flarum/suspend (v2.0.0-beta.1)
      - Locking flarum/tags (v2.0.0-beta.1)
      - Locking franzl/whoops-middleware (2.0.0)
      - Locking guzzlehttp/guzzle (7.9.2)
      - Locking guzzlehttp/promises (2.0.4)
      - Locking guzzlehttp/psr7 (2.7.0)
      - Locking illuminate/bus (v11.35.1)
      - Locking illuminate/cache (v11.35.1)
      - Locking illuminate/collections (v11.35.1)
      - Locking illuminate/conditionable (v11.35.1)
      - Locking illuminate/config (v11.35.1)
      - Locking illuminate/console (v11.35.1)
      - Locking illuminate/container (v11.35.1)
      - Locking illuminate/contracts (v11.35.1)
      - Locking illuminate/database (v11.35.1)
      - Locking illuminate/events (v11.35.1)
      - Locking illuminate/filesystem (v11.35.1)
      - Locking illuminate/hashing (v11.35.1)
      - Locking illuminate/macroable (v11.35.1)
      - Locking illuminate/mail (v11.35.1)
      - Locking illuminate/pipeline (v11.35.1)
      - Locking illuminate/queue (v11.35.1)
      - Locking illuminate/session (v11.35.1)
      - Locking illuminate/support (v11.35.1)
      - Locking illuminate/translation (v11.35.1)
      - Locking illuminate/validation (v11.35.1)
      - Locking illuminate/view (v11.35.1)
      - Locking intervention/gif (4.2.0)
      - Locking intervention/image (3.9.1)
      - Locking jaybizzle/crawler-detect (v1.3.0)
      - Locking jenssegers/agent (v2.6.4)
      - Locking laminas/laminas-diactoros (3.5.0)
      - Locking laminas/laminas-escaper (2.14.0)
      - Locking laminas/laminas-httphandlerrunner (2.11.0)
      - Locking laminas/laminas-stratigility (3.13.0)
      - Locking laravel/prompts (v0.3.2)
      - Locking laravel/serializable-closure (v2.0.0)
      - Locking league/commonmark (2.6.0)
      - Locking league/config (v1.2.0)
      - Locking league/flysystem (3.29.1)
      - Locking league/flysystem-local (3.29.0)
      - Locking league/flysystem-memory (3.29.0)
      - Locking league/mime-type-detection (1.16.0)
      - Locking matthiasmullie/minify (1.3.73)
      - Locking matthiasmullie/path-converter (1.1.3)
      - Locking middlewares/base-path (v2.1.0)
      - Locking middlewares/base-path-router (v2.0.1)
      - Locking middlewares/request-handler (v2.0.2)
      - Locking middlewares/utils (v3.3.0)
      - Locking mobiledetect/mobiledetectlib (2.8.45)
      - Locking monolog/monolog (3.8.1)
      - Locking nelexa/zip (4.0.2)
      - Locking nesbot/carbon (3.8.2)
      - Locking nette/schema (v1.3.2)
      - Locking nette/utils (v4.0.5)
      - Locking nikic/fast-route (v1.3.0)
      - Locking nunomaduro/termwind (v2.3.0)
      - Locking nyholm/psr7 (1.8.2)
      - Locking paragonie/sodium_compat (v2.1.0)
      - Locking psr/cache (3.0.0)
      - Locking psr/clock (1.0.0)
      - Locking psr/container (2.0.2)
      - Locking psr/event-dispatcher (1.0.0)
      - Locking psr/http-client (1.0.3)
      - Locking psr/http-factory (1.1.0)
      - Locking psr/http-message (1.1)
      - Locking psr/http-server-handler (1.0.2)
      - Locking psr/http-server-middleware (1.0.2)
      - Locking psr/log (3.0.2)
      - Locking psr/simple-cache (3.0.0)
      - Locking pusher/pusher-php-server (7.2.6)
      - Locking ralouphie/getallheaders (3.0.3)
      - Locking ramsey/collection (2.0.0)
      - Locking ramsey/uuid (4.7.6)
      - Locking s9e/regexp-builder (1.4.6)
      - Locking s9e/sweetdom (3.4.1)
      - Locking s9e/text-formatter (2.18.0)
      - Locking sycho/codecs-base64vlq (2.0.0)
      - Locking sycho/errors (3.0.0)
      - Locking sycho/sourcemap (2.0.0)
      - Locking symfony/clock (v7.2.0)
      - Locking symfony/config (v7.2.0)
      - Locking symfony/console (v7.2.1)
      - Locking symfony/css-selector (v7.2.0)
      - Locking symfony/deprecation-contracts (v3.5.1)
      - Locking symfony/event-dispatcher (v7.2.0)
      - Locking symfony/event-dispatcher-contracts (v3.5.1)
      - Locking symfony/filesystem (v7.2.0)
      - Locking symfony/finder (v7.2.0)
      - Locking symfony/http-client (v7.2.1)
      - Locking symfony/http-client-contracts (v3.5.2)
      - Locking symfony/http-foundation (v7.2.0)
      - Locking symfony/mailer (v7.2.0)
      - Locking symfony/mailgun-mailer (v7.2.0)
      - Locking symfony/mime (v7.2.1)
      - Locking symfony/polyfill-ctype (v1.31.0)
      - Locking symfony/polyfill-intl-grapheme (v1.31.0)
      - Locking symfony/polyfill-intl-idn (v1.31.0)
      - Locking symfony/polyfill-intl-messageformatter (v1.31.0)
      - Locking symfony/polyfill-intl-normalizer (v1.31.0)
      - Locking symfony/polyfill-mbstring (v1.31.0)
      - Locking symfony/polyfill-php80 (v1.31.0)
      - Locking symfony/polyfill-php83 (v1.31.0)
      - Locking symfony/postmark-mailer (v7.2.0)
      - Locking symfony/process (v7.2.0)
      - Locking symfony/service-contracts (v3.5.1)
      - Locking symfony/string (v7.2.0)
      - Locking symfony/translation (v7.2.0)
      - Locking symfony/translation-contracts (v2.5.4)
      - Locking symfony/yaml (v7.2.0)
      - Locking tijsverkoyen/css-to-inline-styles (v2.2.7)
      - Locking voku/portable-ascii (2.0.3)
      - Locking webmozart/assert (1.11.0)
      - Locking wikimedia/less.php (v4.4.1)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 150 installs, 0 updates, 0 removals
      - Downloading illuminate/support (v11.35.1)
      - Downloading illuminate/database (v11.35.1)
      - Downloading illuminate/mail (v11.35.1)
      - Installing axy/backtrace (2.0.0): Extracting archive
      - Installing components/font-awesome (6.5.2): Extracting archive
      - Installing psr/http-message (1.1): Extracting archive
      - Installing dflydev/fig-cookies (v3.1.0): Extracting archive
      - Installing psr/log (3.0.2): Extracting archive
      - Installing psr/cache (3.0.0): Extracting archive
      - Installing doctrine/event-manager (2.0.1): Extracting archive
      - Installing doctrine/deprecations (1.1.4): Extracting archive
      - Installing doctrine/cache (2.2.0): Extracting archive
      - Installing doctrine/dbal (3.9.3): Extracting archive
      - Installing doctrine/lexer (3.0.1): Extracting archive
      - Installing symfony/polyfill-ctype (v1.31.0): Extracting archive
      - Installing webmozart/assert (1.11.0): Extracting archive
      - Installing dragonmantank/cron-expression (v3.4.0): Extracting archive
      - Installing symfony/deprecation-contracts (v3.5.1): Extracting archive
      - Installing psr/container (2.0.2): Extracting archive
      - Installing fakerphp/faker (v1.24.1): Extracting archive
      - Installing wikimedia/less.php (v4.4.1): Extracting archive
      - Installing symfony/yaml (v7.2.0): Extracting archive
      - Installing symfony/translation-contracts (v2.5.4): Extracting archive
      - Installing symfony/polyfill-mbstring (v1.31.0): Extracting archive
      - Installing symfony/translation (v7.2.0): Extracting archive
      - Installing symfony/service-contracts (v3.5.1): Extracting archive
      - Installing symfony/polyfill-intl-normalizer (v1.31.0): Extracting archive
      - Installing symfony/polyfill-intl-idn (v1.31.0): Extracting archive
      - Installing symfony/mime (v7.2.1): Extracting archive
      - Installing psr/event-dispatcher (1.0.0): Extracting archive
      - Installing symfony/event-dispatcher-contracts (v3.5.1): Extracting archive
      - Installing symfony/event-dispatcher (v7.2.0): Extracting archive
      - Installing egulias/email-validator (4.0.2): Extracting archive
      - Installing symfony/mailer (v7.2.0): Extracting archive
      - Installing symfony/postmark-mailer (v7.2.0): Extracting archive
      - Installing symfony/polyfill-intl-messageformatter (v1.31.0): Extracting archive
      - Installing symfony/mailgun-mailer (v7.2.0): Extracting archive
      - Installing symfony/http-client-contracts (v3.5.2): Extracting archive
      - Installing symfony/http-client (v7.2.1): Extracting archive
      - Installing symfony/polyfill-intl-grapheme (v1.31.0): Extracting archive
      - Installing symfony/string (v7.2.0): Extracting archive
      - Installing symfony/console (v7.2.1): Extracting archive
      - Installing symfony/filesystem (v7.2.0): Extracting archive
      - Installing symfony/config (v7.2.0): Extracting archive
      - Installing sycho/errors (3.0.0): Extracting archive
      - Installing sycho/codecs-base64vlq (2.0.0): Extracting archive
      - Installing sycho/sourcemap (2.0.0): Extracting archive
      - Installing s9e/sweetdom (3.4.1): Extracting archive
      - Installing s9e/regexp-builder (1.4.6): Extracting archive
      - Installing s9e/text-formatter (2.18.0): Extracting archive
      - Installing psr/http-server-handler (1.0.2): Extracting archive
      - Installing psr/http-server-middleware (1.0.2): Extracting archive
      - Installing nikic/fast-route (v1.3.0): Extracting archive
      - Installing symfony/polyfill-php83 (v1.31.0): Extracting archive
      - Installing psr/clock (1.0.0): Extracting archive
      - Installing symfony/clock (v7.2.0): Extracting archive
      - Installing carbonphp/carbon-doctrine-types (2.1.0): Extracting archive
      - Installing nesbot/carbon (3.8.2): Extracting archive
      - Installing monolog/monolog (3.8.1): Extracting archive
      - Installing psr/http-factory (1.1.0): Extracting archive
      - Installing middlewares/utils (v3.3.0): Extracting archive
      - Installing middlewares/request-handler (v2.0.2): Extracting archive
      - Installing middlewares/base-path-router (v2.0.1): Extracting archive
      - Installing middlewares/base-path (v2.1.0): Extracting archive
      - Installing matthiasmullie/path-converter (1.1.3): Extracting archive
      - Installing matthiasmullie/minify (1.3.73): Extracting archive
      - Installing league/mime-type-detection (1.16.0): Extracting archive
      - Installing league/flysystem (3.29.1): Extracting archive
      - Installing league/flysystem-local (3.29.0): Extracting archive
      - Installing league/flysystem-memory (3.29.0): Extracting archive
      - Installing laminas/laminas-escaper (2.14.0): Extracting archive
      - Installing fig/http-message-util (1.1.5): Extracting archive
      - Installing laminas/laminas-stratigility (3.13.0): Extracting archive
      - Installing ralouphie/getallheaders (3.0.3): Extracting archive
      - Installing guzzlehttp/psr7 (2.7.0): Extracting archive
      - Installing laminas/laminas-diactoros (3.5.0): Extracting archive
      - Installing nyholm/psr7 (1.8.2): Extracting archive
      - Installing laminas/laminas-httphandlerrunner (2.11.0): Extracting archive
      - Installing mobiledetect/mobiledetectlib (2.8.45): Extracting archive
      - Installing jaybizzle/crawler-detect (v1.3.0): Extracting archive
      - Installing jenssegers/agent (v2.6.4): Extracting archive
      - Installing intervention/gif (4.2.0): Extracting archive
      - Installing intervention/image (3.9.1): Extracting archive
      - Installing voku/portable-ascii (2.0.3): Extracting archive
      - Installing illuminate/macroable (v11.35.1): Extracting archive
      - Installing psr/simple-cache (3.0.0): Extracting archive
      - Installing illuminate/contracts (v11.35.1): Extracting archive
      - Installing illuminate/conditionable (v11.35.1): Extracting archive
      - Installing illuminate/collections (v11.35.1): Extracting archive
      - Installing doctrine/inflector (2.0.10): Extracting archive
      - Installing illuminate/support (v11.35.1): Extracting archive
      - Installing symfony/finder (v7.2.0): Extracting archive
      - Installing illuminate/filesystem (v11.35.1): Extracting archive
      - Installing illuminate/container (v11.35.1): Extracting archive
      - Installing illuminate/pipeline (v11.35.1): Extracting archive
      - Installing illuminate/bus (v11.35.1): Extracting archive
      - Installing illuminate/events (v11.35.1): Extracting archive
      - Installing illuminate/view (v11.35.1): Extracting archive
      - Installing symfony/http-foundation (v7.2.0): Extracting archive
      - Installing illuminate/translation (v11.35.1): Extracting archive
      - Installing brick/math (0.12.1): Extracting archive
      - Installing illuminate/validation (v11.35.1): Extracting archive
      - Installing illuminate/session (v11.35.1): Extracting archive
      - Installing symfony/process (v7.2.0): Extracting archive
      - Installing ramsey/collection (2.0.0): Extracting archive
      - Installing ramsey/uuid (4.7.6): Extracting archive
      - Installing laravel/serializable-closure (v2.0.0): Extracting archive
      - Installing illuminate/database (v11.35.1): Extracting archive
      - Installing nunomaduro/termwind (v2.3.0): Extracting archive
      - Installing laravel/prompts (v0.3.2): Extracting archive
      - Installing illuminate/console (v11.35.1): Extracting archive
      - Installing illuminate/queue (v11.35.1): Extracting archive
      - Installing symfony/css-selector (v7.2.0): Extracting archive
      - Installing tijsverkoyen/css-to-inline-styles (v2.2.7): Extracting archive
      - Installing symfony/polyfill-php80 (v1.31.0): Extracting archive
      - Installing nette/utils (v4.0.5): Extracting archive
      - Installing nette/schema (v1.3.2): Extracting archive
      - Installing dflydev/dot-access-data (v3.0.3): Extracting archive
      - Installing league/config (v1.2.0): Extracting archive
      - Installing league/commonmark (2.6.0): Extracting archive
      - Installing illuminate/mail (v11.35.1): Extracting archive
      - Installing illuminate/hashing (v11.35.1): Extracting archive
      - Installing illuminate/config (v11.35.1): Extracting archive
      - Installing illuminate/cache (v11.35.1): Extracting archive
      - Installing psr/http-client (1.0.3): Extracting archive
      - Installing guzzlehttp/promises (2.0.4): Extracting archive
      - Installing guzzlehttp/guzzle (7.9.2): Extracting archive
      - Installing filp/whoops (2.16.0): Extracting archive
      - Installing franzl/whoops-middleware (2.0.0): Extracting archive
      - Installing asispts/http-accept (v1.0.0): Extracting archive
      - Installing flarum/json-api-server (0.1.2): Extracting archive
      - Installing flarum/core (v2.0.0-beta.1): Extracting archive
      - Installing flarum/flags (v2.0.0-beta.1): Extracting archive
      - Installing flarum/approval (v2.0.0-beta.1): Extracting archive
      - Installing flarum/bbcode (v2.0.0-beta.1): Extracting archive
      - Installing flarum/emoji (v2.0.0-beta.1): Extracting archive
      - Installing nelexa/zip (4.0.2): Extracting archive
      - Installing flarum/gdpr (v2.0.0-beta.1): Extracting archive
      - Installing flarum/lang-english (v2.0.0-beta.1): Extracting archive
      - Installing flarum/likes (v2.0.0-beta.1): Extracting archive
      - Installing flarum/lock (v2.0.0-beta.1): Extracting archive
      - Installing flarum/markdown (v2.0.0-beta.1): Extracting archive
      - Installing flarum/mentions (v2.0.0-beta.1): Extracting archive
      - Installing flarum/messages (v2.0.0-beta.1): Extracting archive
      - Installing flarum/nicknames (v2.0.0-beta.1): Extracting archive
      - Installing paragonie/sodium_compat (v2.1.0): Extracting archive
      - Installing pusher/pusher-php-server (7.2.6): Extracting archive
      - Installing flarum/pusher (v2.0.0-beta.1): Extracting archive
      - Installing flarum/statistics (v2.0.0-beta.1): Extracting archive
      - Installing flarum/sticky (v2.0.0-beta.1): Extracting archive
      - Installing flarum/subscriptions (v2.0.0-beta.1): Extracting archive
      - Installing flarum/suspend (v2.0.0-beta.1): Extracting archive
      - Installing flarum/tags (v2.0.0-beta.1): Extracting archive
    37 package suggestions were added by new dependencies, use `composer suggest` to see details.
    Generating autoload files
    82 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    No security vulnerability advisories found
    ``` 

    mmmh not work, same error

    composer create-project flarum/flarum:^2.0.0 --stability=beta newflarum9:53:41 î‚´
    Creating a "flarum/flarum:2.0.0" project at "./newflarum"
    
    In CreateProjectCommand.php line 430:
    
      Could not find package flarum/flarum with version 2.0.0.
    
    
    create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]

      Anyone have the same problem? I cant install the new version even after a composer reinstall or cache removal im using xampp for instance

      nevermind, work with

      composer create-project flarum/flarum:^2.x --stability=beta .