socioboard / Socioboard-5.0

Socioboard is world's first and open source Social Technology Enabler. Socioboard Core is our flagship product.

Home Page:http://www.socioboard.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gettin this error when running " composer install & php artisan key:generate " command in `socioboard-web-php`

hamza4522 opened this issue · comments

79 package suggestions were added by new dependencies, use composer suggest to see details.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi

Illuminate\Contracts\Container\BindingResolutionException

Target class [CommandMakeCommand] does not exist.

at vendor/laravel/framework/src/Illuminate/Container/Container.php:879
875▕
876▕ try {
877▕ $reflector = new ReflectionClass($concrete);
878▕ } catch (ReflectionException $e) {
➜ 879▕ throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
880▕ }
881▕
882▕ // If the type is not instantiable, the developer is attempting to resolve
883▕ // an abstract type such as an Interface or Abstract Class and there is

  +13 vendor frames

14 artisan:37
Illuminate\Foundation\Console\Kernel::handle()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
ubuntu@ip-172-31-34-153:~/Socioboard-5.0/socioboard-web-php$ use Nwidart\Modules\Commands;

Hi, are you using composer version 2 or newer?

i am using composer latest version 2.3.9

its working with php 7.4 ... its giving this issue with php8.0&8.1

its working with php 7.4 ... its giving this issue with php8.0&8.1

Strange, seems there was a related issue with the module though. nWidart/laravel-modules#1355

Although I am using php8 in the Docker container.