{"action":"opened","issue":{"url":"https://api.github.com/repos/BootstrapCMS/CMS/issues/150","labels_url":"https://api.github.com/repos/BootstrapCMS/CMS/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/BootstrapCMS/CMS/issues/150/comments","events_url":"https://api.github.com/repos/BootstrapCMS/CMS/issues/150/events","html_url":"https://github.com/BootstrapCMS/CMS/issues/150","id":78876344,"number":150,"title":"optimize --force handling the post-install-cmd event returned with an error","user":{"login":"Jamlee","id":5196641,"avatar_url":"https://avatars.githubusercontent.com/u/5196641?v=3","gravatar_id":"","url":"https://api.github.com/users/Jamlee","html_url":"https://github.com/Jamlee","followers_url":"https://api.github.com/users/Jamlee/followers","following_url":"https://api.github.com/users/Jamlee/following{/other_user}","gists_url":"https://api.github.com/users/Jamlee/gists{/gist_id}","starred_url":"https://api.github.com/users/Jamlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jamlee/subscriptions","organizations_url":"https://api.github.com/users/Jamlee/orgs","repos_url":"https://api.github.com/users/Jamlee/repos","events_url":"https://api.github.com/users/Jamlee/events{/privacy}","received_events_url":"https://api.github.com/users/Jamlee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T07:45:52Z","updated_at":"2015-05-21T07:45:52Z","closed_at":null,"body":"after i run composer  insall ,I get some error message:\r\n\r\n\r\n[root@644bd313fdac project]# composer install\r\nLoading composer repositories with package information\r\nInstalling dependencies (including require-dev) from lock file\r\nNothing to install or update\r\nGenerating autoload files\r\nGenerating optimized class loader\r\nCompiling common classes\r\nPHP Fatal error:  Class 'Symfony\\Component\\Filesystem\\Filesystem' not found in /code/webroot/project/vendor/classpreloader/classpreloader/src/Command/PreCompileCommand.php on line 186\r\nPHP Stack trace:\r\nPHP   1. {main}() /code/webroot/project/artisan:0\r\nPHP   2. Illuminate\\Foundation\\Console\\Kernel->handle() /code/webroot/project/artisan:45\r\nPHP   3. Symfony\\Component\\Console\\Application->run() /code/webroot/project/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:94\r\nPHP   4. Symfony\\Component\\Console\\Application->doRun() /code/webroot/project/vendor/symfony/console/Symfony/Component/Console/Application.php:126\r\nPHP   5. Symfony\\Component\\Console\\Application->doRunCommand() /code/webroot/project/vendor/symfony/console/Symfony/Component/Console/Application.php:195\r\nPHP   6. Illuminate\\Console\\Command->run() /code/webroot/project/vendor/symfony/console/Symfony/Component/Console/Application.php:874\r\nPHP   7. Symfony\\Component\\Console\\Command\\Command->run() /code/webroot/project/vendor/laravel/framework/src/Illuminate/Console/Command.php:101\r\nPHP   8. Illuminate\\Console\\Command->execute() /code/webroot/project/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:257\r\nPHP   9. Illuminate\\Container\\Container->call() /code/webroot/project/vendor/laravel/framework/src/Illuminate/Console/Command.php:115\r\nPHP  10. call_user_func_array:{/code/webroot/project/vendor/laravel/framework/src/Illuminate/Container/Container.php:523}() /code/webroot/project/vendor/laravel/framework/src/Illuminate/Container/Container.php:523\r\nPHP  11. Illuminate\\Foundation\\Console\\OptimizeCommand->fire() /code/webroot/project/vendor/laravel/framework/src/Illuminate/Container/Container.php:523\r\nPHP  12. Illuminate\\Foundation\\Console\\OptimizeCommand->compileClasses() /code/webroot/project/vendor/laravel/framework/src/Illuminate/Foundation/Console/OptimizeCommand.php:66\r\nPHP  13. Illuminate\\Console\\Command->callSilent() /code/webroot/project/vendor/laravel/framework/src/Illuminate/Foundation/Console/OptimizeCommand.php:87\r\nPHP  14. Symfony\\Component\\Console\\Command\\Command->run() /code/webroot/project/vendor/laravel/framework/src/Illuminate/Console/Command.php:147\r\nPHP  15. ClassPreloader\\Command\\PreCompileCommand->execute() /code/webroot/project/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:257\r\nPHP  16. ClassPreloader\\Command\\PreCompileCommand->getFileList() /code/webroot/project/vendor/classpreloader/classpreloader/src/Command/PreCompileCommand.php:251\r\n\r\n\r\n                                                             \r\n  [Symfony\\Component\\Debug\\Exception\\FatalErrorException]    \r\n  Class 'Symfony\\Component\\Filesystem\\Filesystem' not found  \r\n                                                             \r\n\r\n\r\nScript php artisan optimize --force handling the post-install-cmd event returned with an error\r\n\r\n\r\n                                                                                                                       \r\n  [RuntimeException]                                                                                                   \r\n  Error Output: PHP Fatal error:  Class 'Symfony\\Component\\Filesystem\\Filesystem' not found in /code/webroot/project/  \r\n  vendor/classpreloader/classpreloader/src/Command/PreCompileCommand.php on line 186                                   \r\n  PHP Stack trace:                                                                                                     \r\n  PHP   1. {main}() /code/webroot/project/artisan:0                                                                    \r\n  PHP   2. Illuminate\\Foundation\\Console\\Kernel->handle() /code/webroot/project/artisan:45                             \r\n  PHP   3. Symfony\\Component\\Console\\Application->run() /code/webroot/project/vendor/laravel/framework/src/Illuminate  \r\n  /Foundation/Console/Kernel.php:94                                                                                    \r\n  PHP   4. Symfony\\Component\\Console\\Application->doRun() /code/webroot/project/vendor/symfony/console/Symfony/Compon  \r\n  ent/Console/Application.php:126                                                                                      \r\n  PHP   5. Symfony\\Component\\Console\\Application->doRunCommand() /code/webroot/project/vendor/symfony/console/Symfony  \r\n  /Component/Console/Application.php:195                                                                               \r\n  PHP   6. Illuminate\\Console\\Command->run() /code/webroot/project/vendor/symfony/console/Symfony/Component/Console/A  \r\n  pplication.php:874                                                                                                   \r\n  PHP   7. Symfony\\Component\\Console\\Command\\Command->run() /code/webroot/project/vendor/laravel/framework/src/Illumi  \r\n  nate/Console/Command.php:101                                                                                         \r\n  PHP   8. Illuminate\\Console\\Command->execute() /code/webroot/project/vendor/symfony/console/Symfony/Component/Conso  \r\n  le/Command/Command.php:257                                                                                           \r\n  PHP   9. Illuminate\\Container\\Container->call() /code/webroot/project/vendor/laravel/framework/src/Illuminate/Conso  \r\n  le/Command.php:115                                                                                                   \r\n  PHP  10. call_user_func_array:{/code/webroot/project/vendor/laravel/framework/src/Illuminate/Container/Container.ph  \r\n  p:523}() /code/webroot/project/vendor/laravel/framework/src/Illuminate/Container/Container.php:523                   \r\n  PHP  11. Illuminate\\Foundation\\Console\\OptimizeCommand->fire() /code/webroot/project/vendor/laravel/framework/src/I  \r\n  lluminate/Container/Container.php:523                                                                                \r\n  PHP  12. Illuminate\\Foundation\\Console\\OptimizeCommand->compileClasses() /code/webroot/project/vendor/laravel/frame  \r\n  work/src/Illuminate/Foundation/Console/OptimizeCommand.php:66                                                        \r\n  PHP  13. Illuminate\\Console\\Command->callSilent() /code/webroot/project/vendor/laravel/framework/src/Illuminate/Fou  \r\n  ndation/Console/OptimizeCommand.php:87                                                                               \r\n  PHP  14. Symfony\\Component\\Console\\Command\\Command->run() /code/webroot/project/vendor/laravel/framework/src/Illumi  \r\n  nate/Console/Command.php:147                                                                                         \r\n  PHP  15. ClassPreloader\\Command\\PreCompileCommand->execute() /code/webroot/project/vendor/symfony/console/Symfony/C  \r\n  omponent/Console/Command/Command.php:257                                                                             \r\n  PHP  16. ClassPreloader\\Command\\PreCompileCommand->getFileList() /code/webroot/project/vendor/classpreloader/classp  \r\n  reloader/src/Command/PreCompileCommand.php:251                                                                       \r\n                                                                                                                       \r\n\r\n\r\ninstall [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN]"}}