Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mikebarwick's avatar

View [home] not found.

UPDATE: When I run php artisan serve, I can view the home page view fine (i.e. on http://localhost:8000). But on homestead, no dice. What gives?

I ran composer update and now I'm running into an issue. I'm getting this error when I'm trying to load my home view:

InvalidArgumentException in FileViewFinder.php line 140:
View [home] not found.

Yes, files exists in my directory (resources/views, etc.). Name is home.blade.php.

My controller:

<?php namespace Hulahoop\Http\Controllers;

use Hulahoop\Http\Requests;
use Hulahoop\Http\Controllers\Controller;

use Illuminate\Http\Request;

class HomeController extends Controller {

    /**
     * Display a listing of the resource.
     *
     * @return Response
     */
    public function index()
    {
        return view('home');
    }

}

Route:

Route::get('/', 'HomeController@index');

This was working fine and it's very basic function. What happened? Running on local homestead FYI.

0 likes
5 replies
Viking's avatar

it could be cache ... i do experience a lot of cache problems since L5 ... did you flushed your cache ? & update your composer

mikebarwick's avatar

Yup. I tried all of these (in order)...

php artisan route:clear
php artisan cache:clear
composer update

No luck.

bashy's avatar

Have you logged into SSH and checked the file is there? Maybe it's not syncing properly within Homestead.

houseoflogs's avatar

I was seeing this same issue. The problem for me ended up being that the paths set in storage/framework/config.php were still set to the path on my local machine rather than the corresponding path on the homestead server. I was able to get it working by running: php artisan config:clear

3 likes
chris.hearn01@ntlworld.com's avatar

Yup, this worked for me too, with same problem. Only thing is now even standard Welcome view is taking 3 seconds to load. Before it was slow, but more like 2secs (Windows 7 with Homestead VM on Core i5 machine with 12G RAM and SSD) Any ideas how to speed this up? (Edit) - ahm ok, after artisan config:cache and artisan:optimize now back to 1.5secs - with debug on - still seems very slow tho!

Please or to participate in this conversation.