Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php artisan theme:make command using php is giving error #84

Open
ekamnh opened this issue May 9, 2024 · 1 comment
Open

php artisan theme:make command using php is giving error #84

ekamnh opened this issue May 9, 2024 · 1 comment

Comments

@ekamnh
Copy link

ekamnh commented May 9, 2024

Hi folks,

I need to run the theme make command like this in laravel

Artisan::call('theme:make', ['name' => 'soul']);

but giving this error

The command "theme:make" does not exist.

any solution for this

Actually I need to create child theme dynamically

Please help

@gaetan-hexadog
Copy link
Contributor

Hi @ekamnh ,

it looks like your code is called before ThemesManager package has boot up.
Try to add some debug point in boot function of file laravel-themes-manager/src/Providers/PackageServiceProvider.php and where you are trying to call the theme:make command to check the order of declaration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants