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
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. `
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community