-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels