Skip to content

Unable to start WEM-dev from docker. #912

@michaelbeale-IL

Description

@michaelbeale-IL

Describe the bug
when I do docker compose up --build, I get into a crash loop:

wem-dev | Unable to prepare route [companies] for serialization. Another route has already been assigned name [companies.index].
wem-dev |
wem-dev | at vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php:248
wem-dev | 244▕ $route->name($this->generateRouteName());
wem-dev | 245▕
wem-dev | 246▕ $this->add($route);
wem-dev | 247▕ } elseif (! is_null($symfonyRoutes->get($name))) {
wem-dev | ➜ 248▕ throw new LogicException("Unable to prepare route [{$route->uri}] for serialization. Another route has already been assigned name [{$name}].");
wem-dev | 249▕ }
wem-dev | 250▕
wem-dev | 251▕ $symfonyRoutes->add($route->getName(), $route->toSymfonyRoute());
wem-dev | 252▕
wem-dev |
wem-dev | +18 vendor frames
wem-dev |
wem-dev | 19 artisan:35
wem-dev | Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

To Reproduce
Steps to reproduce the behavior:

  1. clone repo
  2. cd into clone
  3. docker compose up --build

Expected behavior
I would expect it to run...

Screenshots
N/A

Desktop (please complete the following information):

  • OS: MacOS X
  • Browser N/A
  • Version main branch.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdockerdocker

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions