{"action":"created","issue":{"url":"https://api.github.com/repos/Spea/SpBowerBundle/issues/125","labels_url":"https://api.github.com/repos/Spea/SpBowerBundle/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/Spea/SpBowerBundle/issues/125/comments","events_url":"https://api.github.com/repos/Spea/SpBowerBundle/issues/125/events","html_url":"https://github.com/Spea/SpBowerBundle/issues/125","id":59415995,"number":125,"title":"Bower runtime exception","user":{"login":"benbieler","id":10898370,"avatar_url":"https://avatars.githubusercontent.com/u/10898370?v=3","gravatar_id":"","url":"https://api.github.com/users/benbieler","html_url":"https://github.com/benbieler","followers_url":"https://api.github.com/users/benbieler/followers","following_url":"https://api.github.com/users/benbieler/following{/other_user}","gists_url":"https://api.github.com/users/benbieler/gists{/gist_id}","starred_url":"https://api.github.com/users/benbieler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbieler/subscriptions","organizations_url":"https://api.github.com/users/benbieler/orgs","repos_url":"https://api.github.com/users/benbieler/repos","events_url":"https://api.github.com/users/benbieler/events{/privacy}","received_events_url":"https://api.github.com/users/benbieler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-01T20:33:30Z","updated_at":"2015-03-06T20:35:52Z","closed_at":null,"body":"Every time I run the command: 'composer update' the following happens:\r\n\r\n```\r\n$ composer update\r\nLoading composer repositories with package information\r\nUpdating dependencies (including require-dev)\r\nNothing to install or update\r\nGenerating autoload files\r\nUpdating the \"app/config/parameters.yml\" file\r\nInstalling bower dependencies for \"SententiaregumWebBundle\" into \"/var/www/src/Sententiaregum/Bundle/WebBundle/Resources/config/../public/vendor\"\r\nsh: 1: /usr/bin/bower: not found\r\n\r\n\r\n\r\n  [Sp\\BowerBundle\\Bower\\Exception\\RuntimeException]\r\n  An error occured while installing dependencies\r\n\r\n\r\n\r\nsp:bower:install\r\n\r\n\r\nScript Sp\\BowerBundle\\Composer\\ScriptHandler::bowerInstall handling the post-update-cmd event terminated with an exception\r\n\r\n\r\n\r\n  [RuntimeException]\r\n  An error occurred when executing the \"'sp:bower:install'\" command.\r\n\r\n\r\n\r\nupdate [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [packagesN]\r\n\r\n```\r\n\r\nIt seems like bower is not properly installed, but if I install it: $ sudo npm install -g bower --no-bin-links, and then update composer again, the same error apears.\r\n\r\nI would be very happy if someone could help out, because this has been an issue, that i've been trying to solve for quite some time now. :)"},"comment":{"url":"https://api.github.com/repos/Spea/SpBowerBundle/issues/comments/77630873","html_url":"https://github.com/Spea/SpBowerBundle/issues/125#issuecomment-77630873","issue_url":"https://api.github.com/repos/Spea/SpBowerBundle/issues/125","id":77630873,"user":{"login":"Spea","id":495017,"avatar_url":"https://avatars.githubusercontent.com/u/495017?v=3","gravatar_id":"","url":"https://api.github.com/users/Spea","html_url":"https://github.com/Spea","followers_url":"https://api.github.com/users/Spea/followers","following_url":"https://api.github.com/users/Spea/following{/other_user}","gists_url":"https://api.github.com/users/Spea/gists{/gist_id}","starred_url":"https://api.github.com/users/Spea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spea/subscriptions","organizations_url":"https://api.github.com/users/Spea/orgs","repos_url":"https://api.github.com/users/Spea/repos","events_url":"https://api.github.com/users/Spea/events{/privacy}","received_events_url":"https://api.github.com/users/Spea/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T20:35:52Z","updated_at":"2015-03-06T20:35:52Z","body":"Since the default location for bower is `/usr/bin/bower`, you have to overwrite the bower location, see the [configuration reference](https://github.com/Spea/SpBowerBundle/blob/master/Resources/doc/configuration_reference.md) for more info"}}