SYMFONY_ENV=prod composer update --no-dev
Posted: 05 Jul 2018, 16:42
hi,
when I update on no-dev I've got this error after:
Updating the "app/config/parameters.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "SensioGeneratorBundle" from namespace "Sensio\Bundle\GeneratorBundle".
Did you forget a "use" statement for another namespace? in C:\wamp64\www\shop\app\AppKernel.php:30
Stack trace:
#0 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(492): AppKernel->registerBundles()
#1 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(132): Symfony\Component\HttpKernel\Kernel->initializeBundles()
#2 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php(64): Symfony\Component\HttpKernel\Kernel->boot()
#3 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 C:\wamp64\www\shop\bin\console(27): Symfony\Component\C in C:\wamp64\www\shop\app\AppKernel.php on line 30
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the symfony-scripts event terminated with an exception
[RuntimeException]
An error occurred when executing the ""cache:clear --no-warmup"" command:
Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "SensioGene
ratorBundle" from namespace "Sensio\Bundle\GeneratorBundle".
Did you forget a "use" statement for another namespace? in C:\wamp64\www\shop\app\AppKernel.php:30
Stack trace:
#0 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(492): AppKernel->registerB
undles()
#1 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(132): Symfony\Component\Ht
tpKernel\Kernel->initializeBundles()
#2 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php(64): Symfon
y\Component\HttpKernel\Kernel->boot()
#3 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php(148): Symfony\Bundle\Fra
meworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component
\Console\Output\ConsoleOutput))
#4 C:\wamp64\www\shop\bin\console(27): Symfony\Component\C in C:\wamp64\www\shop\app\AppKernel.php on line 30
maybe it's because this error that I have an other one when I do php bin/console aimeos:account me@example.com :
Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "SensioGeneratorBundle" from namespace "Sensio\Bundle\GeneratorBundle".
Did you forget a "use" statement for another namespace? in C:\wamp64\www\shop\app\AppKernel.php:30
Stack trace:
#0 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(492): AppKernel->registerBundles()
#1 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(132): Symfony\Component\HttpKernel\Kernel->initializeBundles()
#2 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php(64): Symfony\Component\HttpKernel\Kernel->boot()
#3 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 C:\wamp64\www\shop\bin\console(27): Symfony\Component\C in C:\wamp64\www\shop\app\AppKernel.php on line 30
please tell me
when I update on no-dev I've got this error after:
Updating the "app/config/parameters.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "SensioGeneratorBundle" from namespace "Sensio\Bundle\GeneratorBundle".
Did you forget a "use" statement for another namespace? in C:\wamp64\www\shop\app\AppKernel.php:30
Stack trace:
#0 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(492): AppKernel->registerBundles()
#1 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(132): Symfony\Component\HttpKernel\Kernel->initializeBundles()
#2 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php(64): Symfony\Component\HttpKernel\Kernel->boot()
#3 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 C:\wamp64\www\shop\bin\console(27): Symfony\Component\C in C:\wamp64\www\shop\app\AppKernel.php on line 30
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the symfony-scripts event terminated with an exception
[RuntimeException]
An error occurred when executing the ""cache:clear --no-warmup"" command:
Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "SensioGene
ratorBundle" from namespace "Sensio\Bundle\GeneratorBundle".
Did you forget a "use" statement for another namespace? in C:\wamp64\www\shop\app\AppKernel.php:30
Stack trace:
#0 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(492): AppKernel->registerB
undles()
#1 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(132): Symfony\Component\Ht
tpKernel\Kernel->initializeBundles()
#2 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php(64): Symfon
y\Component\HttpKernel\Kernel->boot()
#3 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php(148): Symfony\Bundle\Fra
meworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component
\Console\Output\ConsoleOutput))
#4 C:\wamp64\www\shop\bin\console(27): Symfony\Component\C in C:\wamp64\www\shop\app\AppKernel.php on line 30
maybe it's because this error that I have an other one when I do php bin/console aimeos:account me@example.com :
Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "SensioGeneratorBundle" from namespace "Sensio\Bundle\GeneratorBundle".
Did you forget a "use" statement for another namespace? in C:\wamp64\www\shop\app\AppKernel.php:30
Stack trace:
#0 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(492): AppKernel->registerBundles()
#1 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(132): Symfony\Component\HttpKernel\Kernel->initializeBundles()
#2 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php(64): Symfony\Component\HttpKernel\Kernel->boot()
#3 C:\wamp64\www\shop\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 C:\wamp64\www\shop\bin\console(27): Symfony\Component\C in C:\wamp64\www\shop\app\AppKernel.php on line 30
please tell me