D
D
DocTypeMaster2021-01-27 15:50:47
Laravel
DocTypeMaster, 2021-01-27 15:50:47

Why does it give errors when installing jetstream?

For the second day I have been trying to install Laravel with Jetstream and every time I get errors

It seems to be downloading something, but at some point it writes it

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

ErrorException

require(D:\Server\OpenServer\domains\coffee\vendor\laravel\jetstream\src/../routes/.php): failed to open stream: No such file or directory

at D:\Server\OpenServer\domains\coffee\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▕ /**

1 D:\Server\OpenServer\domains\coffee\vendor\laravel\framework\src\Illuminate\Support\ServiceProvider.php:144
require()

2 D:\Server\OpenServer\domains\coffee\vendor\laravel\jetstream\src\JetstreamServiceProvider.php:204
Illuminate\Support\ServiceProvider::loadRoutesFrom()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Installation failed, reverting ./composer.json and ./composer.lock to their original content.


6011608cf2424738342753.png

I use OpenServer
60115fb459a06078048189.png
Here are my modules on the server

Install in this order

1. Поставил последнюю версию Ларавел
2. composer require laravel/jetstream - и выдает ошибку

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question