Giter Site home page Giter Site logo

Comments (6)

atmonshi avatar atmonshi commented on May 23, 2024

have you installed filament first? :)

all zeus packages depends on filament, you have to install it first and set it up, then install wind

from wind.

jeremykenedy avatar jeremykenedy commented on May 23, 2024

I was in the wrong directory,

It still failed.

from wind.

jeremykenedy avatar jeremykenedy commented on May 23, 2024

Here are the steps:

  1. laravel new laravel
  2. cd laravel
  3. composer require filament/filament:"^3.0-stable" -W
  4. composer require lara-zeus/wind

Error:

 ~/sites/ cd laraform                    
 ~/sites/laraform/ composer require filament/filament:"^3.0-stable" -W
./composer.json has been updated
Running composer update filament/filament --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Lock file operations: 29 installs, 0 updates, 0 removals
  - Locking anourvalar/eloquent-serialize (1.2.17)
  - Locking blade-ui-kit/blade-heroicons (2.2.1)
  - Locking blade-ui-kit/blade-icons (1.5.3)
  - Locking danharrin/date-format-converter (v0.3.0)
  - Locking danharrin/livewire-rate-limiting (v1.3.0)
  - Locking doctrine/cache (2.2.0)
  - Locking doctrine/dbal (3.7.3)
  - Locking doctrine/deprecations (1.1.2)
  - Locking doctrine/event-manager (2.0.0)
  - Locking filament/actions (v3.2.11)
  - Locking filament/filament (v3.2.11)
  - Locking filament/forms (v3.2.11)
  - Locking filament/infolists (v3.2.11)
  - Locking filament/notifications (v3.2.11)
  - Locking filament/support (v3.2.11)
  - Locking filament/tables (v3.2.11)
  - Locking filament/widgets (v3.2.11)
  - Locking kirschbaum-development/eloquent-power-joins (3.4.0)
  - Locking league/csv (9.11.0)
  - Locking league/uri (7.4.0)
  - Locking league/uri-interfaces (7.4.0)
  - Locking masterminds/html5 (2.8.1)
  - Locking openspout/openspout (v4.23.0)
  - Locking psr/cache (3.0.0)
  - Locking ryangjchandler/blade-capture-directive (v0.3.0)
  - Locking spatie/color (1.5.3)
  - Locking spatie/invade (2.0.0)
  - Locking spatie/laravel-package-tools (1.16.2)
  - Locking symfony/html-sanitizer (v6.4.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 29 installs, 0 updates, 0 removals
  - Installing anourvalar/eloquent-serialize (1.2.17): Extracting archive
  - Installing blade-ui-kit/blade-icons (1.5.3): Extracting archive
  - Installing blade-ui-kit/blade-heroicons (2.2.1): Extracting archive
  - Installing danharrin/date-format-converter (v0.3.0): Extracting archive
  - Installing psr/cache (3.0.0): Extracting archive
  - Installing doctrine/event-manager (2.0.0): Extracting archive
  - Installing doctrine/deprecations (1.1.2): Extracting archive
  - Installing doctrine/cache (2.2.0): Extracting archive
  - Installing doctrine/dbal (3.7.3): Extracting archive
  - Installing spatie/laravel-package-tools (1.16.2): Extracting archive
  - Installing masterminds/html5 (2.8.1): Extracting archive
  - Installing league/uri-interfaces (7.4.0): Extracting archive
  - Installing league/uri (7.4.0): Extracting archive
  - Installing symfony/html-sanitizer (v6.4.0): Extracting archive
  - Installing spatie/invade (2.0.0): Extracting archive
  - Installing spatie/color (1.5.3): Extracting archive
  - Installing ryangjchandler/blade-capture-directive (v0.3.0): Extracting archive
  - Installing filament/support (v3.2.11): Extracting archive
  - Installing filament/widgets (v3.2.11): Extracting archive
  - Installing kirschbaum-development/eloquent-power-joins (3.4.0): Extracting archive
  - Installing openspout/openspout (v4.23.0): Extracting archive
  - Installing league/csv (9.11.0): Extracting archive
  - Installing filament/actions (v3.2.11): Extracting archive
  - Installing filament/notifications (v3.2.11): Extracting archive
  - Installing filament/infolists (v3.2.11): Extracting archive
  - Installing filament/forms (v3.2.11): Extracting archive
  - Installing filament/tables (v3.2.11): Extracting archive
  - Installing danharrin/livewire-rate-limiting (v1.3.0): Extracting archive
  - Installing filament/filament (v3.2.11): Extracting archive
2 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   INFO  Discovering packages.  

  anourvalar/eloquent-serialize ................................................................................. DONE
  blade-ui-kit/blade-heroicons .................................................................................. DONE
  blade-ui-kit/blade-icons ...................................................................................... DONE
  filament/actions .............................................................................................. DONE
  filament/filament ............................................................................................. DONE
  filament/forms ................................................................................................ DONE
  filament/infolists ............................................................................................ DONE
  filament/notifications ........................................................................................ DONE
  filament/support .............................................................................................. DONE
  filament/tables ............................................................................................... DONE
  filament/widgets .............................................................................................. DONE
  kirschbaum-development/eloquent-power-joins ................................................................... DONE
  laravel/fortify ............................................................................................... DONE
  laravel/jetstream ............................................................................................. DONE
  laravel/sail .................................................................................................. DONE
  laravel/sanctum ............................................................................................... DONE
  laravel/tinker ................................................................................................ DONE
  livewire/livewire ............................................................................................. DONE
  nesbot/carbon ................................................................................................. DONE
  nunomaduro/collision .......................................................................................... DONE
  nunomaduro/termwind ........................................................................................... DONE
  ryangjchandler/blade-capture-directive ........................................................................ DONE
  spatie/laravel-ignition ....................................................................................... DONE

101 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan vendor:publish --tag=laravel-assets --ansi --force

   INFO  No publishable resources for tag [laravel-assets].  

No security vulnerability advisories found
 ~/sites/laraform/ composer require lara-zeus/wind                    
./composer.json has been updated
Running composer update lara-zeus/wind
Loading composer repositories with package information
Updating dependencies
Lock file operations: 7 installs, 0 updates, 0 removals
  - Locking archtechx/laravel-seo (v0.7.0)
  - Locking calebporzio/sushi (v2.4.5)
  - Locking codeat3/blade-iconpark (1.5.1)
  - Locking filament/spatie-laravel-translatable-plugin (v3.2.11)
  - Locking lara-zeus/core (v3.1.1)
  - Locking lara-zeus/wind (v3.2.0)
  - Locking spatie/laravel-translatable (6.5.5)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 7 installs, 0 updates, 0 removals
  - Installing archtechx/laravel-seo (v0.7.0): Extracting archive
  - Installing calebporzio/sushi (v2.4.5): Extracting archive
  - Installing codeat3/blade-iconpark (1.5.1): Extracting archive
  - Installing spatie/laravel-translatable (6.5.5): Extracting archive
  - Installing filament/spatie-laravel-translatable-plugin (v3.2.11): Extracting archive
  - Installing lara-zeus/core (v3.1.1): Extracting archive
  - Installing lara-zeus/wind (v3.2.0): Extracting archive
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   Error 

  Call to a member function hasPlugin() on null

  at vendor/filament/filament/src/FilamentManager.php:565
    561▕     }
    562▕ 
    563▕     public function hasPlugin(string $id): bool
    564▕     {
  ➜ 565▕         return $this->getCurrentPanel()->hasPlugin($id);
    566▕     }
    567▕ 
    568▕     public function hasProfile(): bool
    569▕     {

      +10 vendor frames 

  11  [internal]:0
      Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(LaraZeus\Wind\WindServiceProvider))
      +5 vendor frames 

  17  artisan:35
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

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

from wind.

jeremykenedy avatar jeremykenedy commented on May 23, 2024

Note in my local used directory laraform, not laravel

from wind.

atmonshi avatar atmonshi commented on May 23, 2024

from your composer output wind is installed:

- Installing lara-zeus/wind (v3.2.0): Extracting archive

and the error
Call to a member function hasPlugin() on null

because there is no panel provider in your app

you have to setup filament not just install it with composer
https://filamentphp.com/docs/3.x/panels/installation#installation

run this

php artisan filament:install --panels

after that you can run composer install and it should be all good

from wind.

jeremykenedy avatar jeremykenedy commented on May 23, 2024

It worked with:

  1. laravel new laravel
  2. cd laravel
  3. composer require filament/filament:"^3.2" -W
  4. php artisan filament:install --panels
  5. composer require lara-zeus/wind

from wind.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.