martinlindhe / laravel-vue-i18n-generator

Generates a vue-i18n compatible include file from your Laravel translations
MIT License
306 stars 207 forks source link

ErrorException on Generator.php #4

Closed janokary closed 8 years ago

janokary commented 8 years ago

Hi I get this error when trying to run

php artisan vue-i18n:generate

[ErrorException] Argument 1 passed to MartinLindhe\VueInternationalizationGenerator\Generator::adjustArray() must be of the type array, integer given, called in /home/dev/laravel/vendor/martinlindhe/laravel-vue-i18n-generator/src/Generator.php on line 49 and defined

ferleal commented 8 years ago

try running php artisan vendor:publish

martinlindhe commented 8 years ago

@janokary: did the comment from @ferleal solve your issue? (if so, we need to update the README)

martinlindhe commented 8 years ago

@janokary: did above comments solve your issue? if so could you please close this ticket

janokary commented 8 years ago

Yes it did. Than you all.