Hi there,
When I try to install Ecommerce Module returns an error:
[ERROR]
local.ERROR: Trait 'Cviebrock\EloquentSluggable\Sluggable' not found {"userId":1,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Trait 'Cviebrock\\EloquentSluggable\\Sluggable' not found at /home/odontoquiz/www/Corals/modules/Ecommerce/Models/Product.php:27)
[stacktrace]
#0 {main}
"} [/ERROR]
[stacktrace]
#0 {main}
"} [/ERROR]
Attachments
1 Answers
Best Answer
Hello,
Looks like you're using composer version 2 which is still not compatible, Laraship uses the composer merge plugin which has not been updated yet to support composer 2
https://github.com/wikimedia/composer-merge-plugin/issues/184
https://www.laraship.com/docs/laraship/installation-instructions/server-requirements/
Thanks Laraship. This answer was helpful, now I can update composer dependencies and install any model. I changed the composer.phar file to version 1.10.17 according to your instructions.
Please login or Register to submit your answer
Hello, Did you run composer update ? , please run it and send us the screen output
There is the print of composer update that I made now.
[IMG] https://postimg.cc/mPVmSWMh