Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The make migrate command does not work when installing for "dev" #975

Open
mbusch3 opened this issue Nov 20, 2024 · 0 comments
Open

The make migrate command does not work when installing for "dev" #975

mbusch3 opened this issue Nov 20, 2024 · 0 comments

Comments

@mbusch3
Copy link

mbusch3 commented Nov 20, 2024

When I change the .env file to APP_ENV=dev and install composer dependencies without the --no-dev flag, it seems that those additional dependencies are creating an error when installing UDOIT.

make migrate
docker compose -f docker-compose.nginx.yml run php php bin/console doctrine:migrations:migrate
Symfony\Component\ErrorHandler\Error\ClassNotFoundError^ {#66
  #message: """
    Attempted to load class "WebProfilerBundle" from namespace "Symfony\Bundle\WebProfilerBundle".\n
    Did you forget a "use" statement for another namespace?
    """
  #code: 0
  #file: "./src/Kernel.php"
  #line: 23
  trace: {
    ./src/Kernel.php:23 {
      App\Kernel->registerBundles(): iterable^
      › if ($envs[$this->environment] ?? $envs['all'] ?? false) {
      ›     yield new $class();
      › }
    }
    ./vendor/symfony/http-kernel/Kernel.php:382 { …}
    ./vendor/symfony/http-kernel/Kernel.php:766 { …}
    ./vendor/symfony/http-kernel/Kernel.php:128 { …}
    ./vendor/symfony/framework-bundle/Console/Application.php:166 { …}
    ./vendor/symfony/framework-bundle/Console/Application.php:72 { …}
    ./vendor/symfony/console/Application.php:171 { …}
    ./bin/console:42 { …}
  }
}
2024-11-19T15:20:38+00:00 [critical] Uncaught Error: Class "Symfony\Bundle\WebProfilerBundle\WebProfilerBundle" not found
make: *** [migrate] Error 255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant