Error on Ecommerce Module install

Laraship QuestionsCategory: InstallationError on Ecommerce Module install
ATMA asked 4 years ago
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]
Attachments
laraship Staff replied 4 years ago

Hello, Did you run composer update ? , please run it and send us the screen output

Helinho replied 4 years ago

There is the print of composer update that I made now.

[IMG] https://postimg.cc/mPVmSWMh

1 Answers
Best Answer
laraship Staff answered 4 years ago
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/
Helinho replied 4 years ago

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.