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

No hint path defined for ["modulename"] #243

Open
ghost opened this issue Feb 14, 2016 · 1 comment
Open

No hint path defined for ["modulename"] #243

ghost opened this issue Feb 14, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 14, 2016

Hi,

just tried pingpong modules with current laravel 5.1 installation. Creating a module with artisan module:make "modulename" generates a module folder structure underneath the module folder itself. Calling http://localhost/modulename throws following error:

InvalidArgumentException in FileViewFinder.php line 112: No hint path defined for [modulename]

I tried artisan module:make Bigmodule and artisan module:make smallmodule because in the installation examples are both notations with capital and small letters. It doesn't matter which I use, error keeps the same.

Changing

return view('Modulename::index');

to

return view('modulename::index');

in the generated index controller stub did the trick and calling http://localhost/modulename afterwards delivers the correct view without errors.

@LucaswDeveloper
Copy link

I had the same problem, solved thanks for the comment.

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

1 participant