Closed asbiin closed 6 years ago
Thanks for reporting. A fix coming shortly
Could you please try just released 0.1.27 to see if the fix works correctly?
Sorry, I have an other error:
> @php artisan package:discover
Symfony\Component\Debug\Exception\FatalThrowableError : Type error: Argument 1 passed to Illuminate\Console\Application::add() must be an instance of Symfony\Component\Console\Command\Command, instance of MartinLindhe\VueInternationalizationGenerator\Generator given, called in ~/blog/vendor/laravel/framework/src/Illuminate/Console/Application.php on line 228
at ~/blog/vendor/laravel/framework/src/Illuminate/Console/Application.php: 200
196| *
197| * @param \Symfony\Component\Console\Command\Command $command
198| * @return \Symfony\Component\Console\Command\Command
199| */
> 200| public function add(SymfonyCommand $command)
201| {
202| if ($command instanceof Command) {
203| $command->setLaravel($this->laravel);
204| }
Exception trace:
1 Illuminate\Console\Application::add(Object(MartinLindhe\VueInternationalizationGenerator\Generator))
~/blog/vendor/laravel/framework/src/Illuminate/Console/Application.php : 228
2 Illuminate\Console\Application::resolve("vue-i18n.generate")
~/blog/vendor/laravel/framework/src/Illuminate/Console/Application.php : 242
I'm really sorry about this. I will revert more.
I screwed up a bit when trying to do some house keeping of the code last night. I have tried to revert the remaining offending parts. Would you please let me know if it works this time around? Version 0.1.28
Thank you @martinlindhe ! No problem, I completely understand, thank you for your work ! BTW, 0.1.28 version fix the problem. Thanks !
From laravel-vue-i18n-generator v0.1.24 and next releases, I get this error:
Reproductible:
It might be linked to https://github.com/martinlindhe/laravel-vue-i18n-generator/commit/53426829a8fe52e94d2bb9c5bc83776ed9317a81#diff-da4b931def3f8c326a12bcc366148836