hello, I am very interested in livewire, when I install with the compoer there is an error liveserviceprovider on “}” line 30 I am confused please help
Eror Innstalation Livewire 0.5.2 with composer [Solved]
I just tested and it works for me.
I did a little research, and it is breaking for you on the trailing comma in the grouped using statements. A trailing comma is allowed as of 7.2.
-
Implemented "Trailing Commas In List Syntax" RFC for group use lists only.
- 7.2 change log - PHP RFC: Trailing Commas In List Syntax
My guess is that you are not running PHP 7.2 or greater. Anything less than that is End Of Life (reference).
1 Like
thank you for responding, I used php 7.1, and eliminating comma was the answer I was looking for, thanks now I can learn more livewire