Error Conatiner.php with Terminal translation / composer

Laraship QuestionsCategory: TechnicalError Conatiner.php with Terminal translation / composer
Martin Kutter asked 5 years ago
Hi Latest Laraship with Laravel 6 (installed today, Oct 10th 2019). Calling any kind of translation, even composer UPDATE I get the following error (example with translation): Command
php artisan translate --theme=my-theme --namespace=Ecommerce --from=en --to=fr Error
In Container.php line 806:
Target class [Corals\Foundation\Console\Commands\CoralsInstallation] does not exist. In Container.php line 804:
Class Corals\Foundation\Console\Commands\CoralsInstallation does not exist Command
composer update Error
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi In Container.php line 806:

Target class [Corals\Foundation\Console\Commands\CoralsInstallation] does n
ot exist. In Container.php line 804:

Class Corals\Foundation\Console\Commands\CoralsInstallation does not exist   This occurred after updating to "Base Foundation" version 4.2. How can this be fixed? Regards. Martin
2 Answers
laraship Staff answered 5 years ago
Hello, Please update Foundation to 4.3 and run the composer : composer dump
Martin Kutter replied 5 years ago

Hi

Thank you for your response.

As there seems everything blocked by that error, how can I update Foundation?

compser is stuck
via backend it does not work either, obviously
php artisan throws the same error

Can you help me?

Regards.
Martin

Martin Kutter replied 5 years ago

Hi

I copied the foundation files from the latest version and ran composer again.
No errors so far.
But, now I have foundation 4.2 installed – update to 4.3 did not work…

By the way:
Complete new install with todays version (2019-10-14) results in the following error:

Your requirements could not be resolved to an installable set of packages.

Problem 1
– Installation request for nexmo/client ~1.7 -> satisfiable by nexmo/client[1.9.0].
– nexmo/client 1.9.0 requires php-http/guzzle6-adapter ^2.0 -> satisfiable by php-http/guzzle6-adapter[2.x-dev, v2.0.0, v2.0.1] but these conflict with your requirements or minimum-stability.

Regards.
Martin

laraship Staff answered 5 years ago
Hello Martin, This is a new version pushed by Guzzle Http this weekend, we just released a new update, please download and test.  
Martin Kutter replied 5 years ago

Fresh install worked.
Thank you.