agence-webup / agence-webup/laravel-helium

DirectoryNotFoundException `/srv/http/app/Entities`

Aperta
#4 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
PHP
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Stacktrace :**

```
docker@901b3ae27c92:/srv/http$ php artisan helium:crud
Create helium CRUD

Symfony\Component\Finder\Exception\DirectoryNotFoundException

The "/srv/http/app/Entities" directory does not exist.

at vendor/symfony/finder/Finder.php:589
585▕ } elseif ($glob = glob($dir, (\defined('GLOB_BRACE') ? \GLOB_BRACE : 0) | \GLOB_ONLYDIR | \GLOB_NOSORT)) {
586▕ sort($glob);
587▕ $resolvedDirs = array_merge($resolvedDirs, array_map([$this, 'normalizeDir'], $glob));
588▕ } else {
➜ 589▕ throw new DirectoryNotFoundException(sprintf('The "%s" directory does not exist.', $dir));
590▕ }
591▕ }
592▕
593▕ $this->dirs = array_merge($this->dirs, $resolvedDirs);

+17 vendor frames
18 artisan:41
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), `Object(Symfony\Component\Console\Output\ConsoleOutput))`
```

**Why :**

The script looks for models in the `App\Entities` folder, but the new Laravel default is the `App\Models` folder.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.