Support the ongoing development of Laravel.io →
Installation Laravel Authentication

On a fresh laravel project I would like to install jetstream as described by the documentation which fails. I get the following error:

require(/home/darius/Develop/v1.1/vendor/laravel/jetstream/src/../routes/.php): failed to open stream: No such file or directory It's driving me crazy, but I cannot figure out what is going wrong. Anyone has a suggestion?

Verbose output is pasted below.

TIA!

Rgds, Darius

`composer require laravel/jetstream Using version ^1.0 for laravel/jetstream ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 11 installs, 0 updates, 0 removals

  • Installing symfony/polyfill-util (v1.18.1): Loading from cache
  • Installing symfony/polyfill-php56 (v1.18.1): Loading from cache
  • Installing paragonie/constant_time_encoding (v2.3.0): Loading from cache
  • Installing pragmarx/google2fa (v7.0.0): Loading from cache
  • Installing dasprid/enum (1.0.2): Loading from cache
  • Installing bacon/bacon-qr-code (2.0.2): Loading from cache
  • Installing laravel/fortify (v1.0.0): Loading from cache
  • Installing jaybizzle/crawler-detect (v1.2.99): Loading from cache
  • Installing mobiledetect/mobiledetectlib (2.8.34): Loading from cache
  • Installing jenssegers/agent (v2.6.4): Loading from cache
  • Installing laravel/jetstream (v1.0.2): Loading from cache bacon/bacon-qr-code suggests installing ext-imagick (to generate QR code images) Writing lock file Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover --ansi

ErrorException

require(/home/darius/Develop/v1.1/vendor/laravel/jetstream/src/../routes/.php): failed to open stream: No such file or directory

at vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:144 140▕ / 141▕ protected function loadRoutesFrom($path) 142▕ { 143▕ if (! ($this->app instanceof CachesRoutes && $this->app->routesAreCached())) { ➜ 144▕ require $path; 145▕ } 146▕ } 147▕ 148▕ /*

  +15 vendor frames 

16 [internal]:0 Illuminate\Foundation\Application::Illuminate\Foundation{closure}()

  +5 vendor frames 

22 artisan:37 Illuminate\Foundation\Console\Kernel::handle() Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Installation failed, reverting ./composer.json to its original content. `

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Darius Blaszyk daar Joined 21 Aug 2019

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.