igaster / laravel-theme

Theme support for Laravel
MIT License
516 stars 110 forks source link

Cannot use Igaster\LaravelTheme\Facades\Theme as Themes because the name is already in use #97

Closed kusumahendra closed 5 years ago

kusumahendra commented 5 years ago

i experienced this error on windows, but not on my mac. any idea? Thanks

(1/1) FatalErrorException Cannot use Igaster\LaravelTheme\Facades\Theme as Themes because the name is already in use

screenshot_46

majost-colombia commented 5 years ago

I have the same problem on windows, some have any idea?

majost-colombia commented 5 years ago

The error appear when after use php artisan theme:create, the first time the wizard run correctly, when i try execute this again the error appear.

majost-colombia commented 5 years ago

@igaster Pls a hand, i'm very confused about it. Thanks in advance.

falcolee commented 5 years ago

I got same issue,it works well on my mac & php 7.05. But it throw an error when i test the project on centos 6 & php 5.6.25. someone helps?thanks

ionutgrecu commented 5 years ago

Hi. For laravel 5.4.* just use the version 2.0.6 and do not update it until the author will release a fix for this version of laravel. In composer.json : "igaster/laravel-theme": "2.0.6", Then in cli: composer update