problems during bagisto installation



  • c:\wamp64\www\bagisto>composer install
    Installing dependencies from lock file (including require-dev)
    Verifying lock file contents can be installed on current platform.
    Your lock file does not contain a compatible set of packages. Please run composer update.

    Problem 1
    - lcobucci/jwt is locked to version 3.3.3 and an update of this package was not requested.
    - lcobucci/jwt 3.3.3 requires php ^5.6 || ^7.0 -> your php version (8.1.1) does not satisfy that requirement.
    Problem 2
    - phpoffice/phpspreadsheet is locked to version 1.21.0 and an update of this package was not requested.
    - phpoffice/phpspreadsheet 1.21.0 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.
    Problem 3
    - lcobucci/jwt 3.3.3 requires php ^5.6 || ^7.0 -> your php version (8.1.1) does not satisfy that requirement.
    - tymon/jwt-auth dev-develop requires lcobucci/jwt <3.4 -> satisfiable by lcobucci/jwt[3.3.3].
    - tymon/jwt-auth is locked to version dev-develop and an update of this package was not requested.

    To enable extensions, verify that they are enabled in your .ini files:
    - C:\xampp\php\php.ini
    You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
    Alternatively, you can run Composer with --ignore-platform-req=ext-gd to temporarily ignore these required extensions.

    c:\wamp64\www\bagisto>

    c:\wamp64\www\bagisto>

    c:\wamp64\www\bagisto> --ignore-platform-reqs
    '--ignore-platform-reqs' is not recognized as an internal or external command,
    operable program or batch file.

    c:\wamp64\www\bagisto>composer install --ignore-platform-reqs
    Installing dependencies from lock file (including require-dev)
    Verifying lock file contents can be installed on current platform.
    Nothing to install, update or remove
    Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    Generating optimized autoload files

    Illuminate\Foundation\ComposerScripts::postAutoloadDump
    Deprecation Notice: Return type of Illuminate\Container\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Container\Container.php:1355
    Deprecation Notice: Return type of Illuminate\Container\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Container\Container.php:1366
    Deprecation Notice: Return type of Illuminate\Container\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Container\Container.php:1378
    Deprecation Notice: Return type of Illuminate\Container\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Container\Container.php:1391
    @php artisan package:discover

    PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Collections\Collection.php:1443
    Stack trace:
    #0 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Collections\Collection.php(13): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', 'C:\wamp64\www\b...', 1443)
    #1 C:\wamp64\www\bagisto\vendor\composer\ClassLoader.php(571): include('C:\wamp64\www\b...')
    #2 C:\wamp64\www\bagisto\vendor\composer\ClassLoader.php(428): Composer\Autoload\includeFile('C:\wamp64\www\b...')
    #3 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Collections\helpers.php(15): Composer\Autoload\ClassLoader->loadClass('Illuminate\Supp...')
    #4 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(130): collect(Array)
    #5 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(106): Illuminate\Foundation\PackageManifest->build()
    #6 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(89): Illuminate\Foundation\PackageManifest->getManifest()
    #7 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases')
    #8 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()
    #9 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(237): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))
    #10 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith(Array)
    #11 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()
    #12 C:\wamp64\www\bagisto\artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #13 {main} in C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Collections\Collection.php on line 13
    In Collection.php line 13:

    During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collectio
    n::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool,
    or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp6
    4\www\bagisto\vendor\laravel\framework\src\Illuminate\Collections\Collection.php:1443
    Stack trace:
    #0 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Collections\Collection.php(13): Illumi
    nate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', 'C:\wamp64\www\b
    ...', 1443)
    #1 C:\wamp64\www\bagisto\vendor\composer\ClassLoader.php(571): include('C:\wamp64\www\b...')
    #2 C:\wamp64\www\bagisto\vendor\composer\ClassLoader.php(428): Composer\Autoload\includeFile('C:\wamp6
    4\www\b...')
    #3 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Collections\helpers.php(15): Composer
    Autoload\ClassLoader->loadClass('Illuminate\Supp...')
    #4 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(130): c
    ollect(Array)
    #5 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(106): I
    lluminate\Foundation\PackageManifest->build()
    #6 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(89): Il
    luminate\Foundation\PackageManifest->getManifest()
    #7 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(78): Il
    luminate\Foundation\PackageManifest->config('aliases')
    #8 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\RegisterFacades.p
    hp(26): Illuminate\Foundation\PackageManifest->aliases()
    #9 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(237): Illum
    inate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))
    #10 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(310): I
    lluminate\Foundation\Application->bootstrapWith(Array)
    #11 C:\wamp64\www\bagisto\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(127): I
    lluminate\Foundation\Console\Kernel->bootstrap()
    #12 C:\wamp64\www\bagisto\artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Comp
    onent\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #13 {main}

    Script @php artisan package:discover handling the post-autoload-dump event returned with error code 255



  • Please use single thread to avoid cconfustion,
    https://forums.bagisto.com/topic/2874/help-pls-cant-installl/2


Log in to reply