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

artisan infyom.publish:user : View [users.create] not found. #1060

Open
CrunchyArtie opened this issue Jan 16, 2023 · 4 comments
Open

artisan infyom.publish:user : View [users.create] not found. #1060

CrunchyArtie opened this issue Jan 16, 2023 · 4 comments

Comments

@CrunchyArtie
Copy link

With a fresh laravel 9 project I try to execute this command : artisan infyom.publish:user

This is the response:

 InvalidArgumentException 

  View [users.create] not found.

  at vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137
    133▕                 }
    134▕             }
    135▕         }
    136▕
  ➜ 137▕         throw new InvalidArgumentException("View [{$name}] not found.");
    138▕     }
    139▕
    140▕     /**
    141▕      * Get an array of possible view files.

  i   users.create was not found: Are you sure the view exists and is a `.blade.php` file?

      +19 vendor frames 
  20  artisan:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

I don't know what I have to do. The command create the folder resources/views/users but it's empty. I don't know where is the wanted users.create file. There is a create.blade.php file inside resources/views/vendor/adminlte-templates/templates/users.

(By the way, I'm using lando, but i don't think this could be the problem)

@talenta-eg
Copy link

Same Issue ? Any Solution

@talenta-eg
Copy link

talenta-eg commented Feb 4, 2023

i have a similar issue #1064 (comment)

@bizarmtools
Copy link

I have too

@KanithiSubramanyam
Copy link

I have a solution for that try using
php artisan infyom:scaffold User --fromTable --table=users this command
if this is'nt worked try
php artisan infyom:scaffold User --fromTable --tableName=users

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

4 participants