Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(livewire) Call to undefined method Illuminate\View\ComponentAttributeBag::macro() #52

Closed
imClement opened this issue Sep 4, 2020 · 1 comment

Comments

@imClement
Copy link
Contributor

  • Jetstream Version: 0.0.6
  • Laravel Version: 8.x-dev
  • PHP Version: 7.4.9
  • Database Driver & Version: 8.0.21

Description:

After a fresh install of the 8.x-dev I get the following error when I try to access the app in the browser

Error thrown with message "Call to undefined method Illuminate\View\ComponentAttributeBag::macro()"

Stacktrace:
#18 Error in /home/im-possible/projects/dev/test28/vendor/livewire/livewire/src/LivewireServiceProvider.php:196
#17 Livewire\LivewireServiceProvider:registerViewMacros in /home/im-possible/projects/dev/test28/vendor/livewire/livewire/src/LivewireServiceProvider.php:65
#16 Livewire\LivewireServiceProvider:boot in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32
#15 call_user_func_array in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32
#14 Illuminate\Container\BoundMethod:Illuminate\Container\{closure} in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Container/Util.php:36
#13 Illuminate\Container\Util:unwrapIfClosure in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:90
#12 Illuminate\Container\BoundMethod:callBoundMethod in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:34
#11 Illuminate\Container\BoundMethod:call in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Container/Container.php:592
#10 Illuminate\Container\Container:call in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:865
#9 Illuminate\Foundation\Application:bootProvider in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:848
#8 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0
#7 array_walk in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:849
#6 Illuminate\Foundation\Application:boot in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17
#5 Illuminate\Foundation\Bootstrap\BootProviders:bootstrap in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:228
#4 Illuminate\Foundation\Application:bootstrapWith in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151
#3 Illuminate\Foundation\Http\Kernel:bootstrap in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:135
#2 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/im-possible/projects/dev/test28/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109
#1 Illuminate\Foundation\Http\Kernel:handle in /home/im-possible/projects/dev/test28/public/index.php:55
#0 require in /home/im-possible/.composer/vendor/cpriego/valet-linux/server.php:232

Steps To Reproduce:

  1. laravel new test8 --dev
  2. composer require laravel/jetstream
  3. php artisan jetstream:install livewire --teams
  4. npm install && npm run dev

P.S. - I noticed the same error thrown in terminal after step 3 - artisan jetstream:install

@taylorotwell
Copy link
Member

This wouldn't be a Jetstream related issue. We don't call component attribute bag macro. You can see in the stacktrace it is a Livewire issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants