InfyOmLabs / laravel-generator

API and Admin Panel CRUD Generator for Laravel.
https://www.infyom.com/open-source
MIT License
3.78k stars 802 forks source link

app.stub directory issue #389

Closed amin101 closed 7 years ago

amin101 commented 7 years ago

error when running :

php artisan infyom.publish:layout

[ErrorException] copy(C:\xampp\htdocs\sherkat\vendor/infyomlabs/core-templates/templates/scaffold/layouts/app.stub): failed to open stream: No such file or directory

there is no core-template directory

amin101 commented 7 years ago

found out that "infyomlabs/core-templates": "5.3.x-dev" should be added to composer.json it is not mentioned in documents

mitulgolakiya commented 7 years ago

@amin101 core-templates are no longer maintained. You should try to use adminlte-templates.

amin101 commented 7 years ago

so maybe you should fix php artisan infyom.publish:layout running code as it requires core-templates .

lucas-quinn-guru commented 5 years ago

Change config. Replace 'teplates' parameter from 'core-templates' to 'adminlte-templates' in laravel_generator.php config. Default parameter has a deprecated value.

Since the core-templates is no longer maintained, I wonder why it is still the default of the infyomlabs config. The default should be adminlte-templates. Or fix the install.