Plugin installation via CMD not working

Laraship QuestionsCategory: TechnicalPlugin installation via CMD not working
Frank Nolden asked 5 years ago

Hi @all

I'am tring to install plugin with CMD. But i becomme everytime error.

Doc: https://www.laraship.com/docs/laraship/installation-instructions/plugin-installation/

php artisan corals:modules --action=install --type=module --module_name=corals-utility

Module corals-utility has been installed successfully

... this work

=====

php artisan corals:modules --action=install --type=module --module_name=corals-cms

... not work

Class 'Shortcode' not found

Exception trace:

() at /Users/approach/workspace/laraship/Corals/modules/CMS/CMSServiceProvider.php:86

CoralsModulesCMSCMSServiceProvider->registerWidgets() at /Users/approach/workspace/laraship/Corals/modules/CMS/CMSServiceProvider.php:47

CoralsModulesCMSCMSServiceProvider->boot() at n/a:n/a

Other install modules doesn't work to.

2 Answers
laraship Staff answered 5 years ago

Hello,

We pushed a fix that requires updating corals-foundation to version: 3.1.5

php artisan corals:modules –action=install –type=core –module_name=corals-foundation

then try again

Frank Nolden replied 5 years ago

It is still not working! Output:

☁ laraship [master] php artisan corals:modules –action=install –type=module –module_name=corals-cms -v

In ArgvInput.php line 183:

[Symfony\Component\Console\Exception\RuntimeException]
Too many arguments, expected arguments "command".

Frank Nolden replied 5 years ago

Also, other commands doesn't work too:

☁ laraship [master] php artisan corals:modules –action=install –type=module –module_name=corals-payment-stripe -v

In InstallModuleServiceProvider.php line 12:

[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'Payments' not found

laraship Staff answered 5 years ago

Hello,

we just checked the command and its working fine

https://www.screencast.com/t/8fNwtvuS

make sure its - the dash in english