Error on Ecommerce Module install

Error on Ecommerce Module install

Laraship QuestionsCategory: InstallationError on Ecommerce Module install
Helinho asked 4 weeks 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 weeks ago

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

Helinho
replied 4 weeks 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 weeks 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 2 weeks 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.

BLACK FRIDAY

60% DISCOUNT ON OUR ENTIRE STORE
COUPON CODE : BLACK2020
GO TO STORE
LIMITED TIME OFFER
close-link
60% Off on all of LARASHIP platforms, plugins, and themes NO EXCLUSIONS
CODE: BLACK2020
close-image