-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
The command "infyom:scaffold" does not exist. #61
Comments
I also got same issue while clicking on "Generate Button". I am using laravel 10. My kernel.php code is below. command('inspire')->hourly(); } /** * Register the commands for the application. */ protected function commands(): void { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } } |
Simplemente para que funcione, copia el archivo que esta en la ruta vendor\infyomlabs\laravel-generator\src\InfyOmGeneratorServiceProvider.php en la carpeta app\Providers. Una vez copiado el archivo, cambiamos en namespace de InfyOm\Generator a App\Providers luego lo registramos en el array de providers que esta en la ruta config\app.php (Debemos asegurarnos que al registrar el provider, se importe el namespace apuntando a App\Providers) Ahora en el archivo copiado InfyOmGeneratorServiceProvider.php nos dirigimos a la funcion privada llamada registerCommands() y eliminamos el condicional if (este condicional pregunta si la app no no esta corriendo en consola o CLI entonces return) Una vez eliminado ese condicional, podemos usar esos comandos desde la aplicacion visual o en este caso usando Generator GUI Interface |
I have integrated the generator-builder. When I click button generate I get error message like The command "infyom:scaffold" does not exist.
The text was updated successfully, but these errors were encountered: