{"action":"created","issue":{"url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/issues/151","labels_url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/issues/151/comments","events_url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/issues/151/events","html_url":"https://github.com/francoispluchino/composer-asset-plugin/issues/151","id":109272576,"number":151,"title":"Cannot deploy to Amazon AWS, fatal error at parseLinks","user":{"login":"tehmaestro","id":9526833,"avatar_url":"https://avatars.githubusercontent.com/u/9526833?v=3","gravatar_id":"","url":"https://api.github.com/users/tehmaestro","html_url":"https://github.com/tehmaestro","followers_url":"https://api.github.com/users/tehmaestro/followers","following_url":"https://api.github.com/users/tehmaestro/following{/other_user}","gists_url":"https://api.github.com/users/tehmaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/tehmaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehmaestro/subscriptions","organizations_url":"https://api.github.com/users/tehmaestro/orgs","repos_url":"https://api.github.com/users/tehmaestro/repos","events_url":"https://api.github.com/users/tehmaestro/events{/privacy}","received_events_url":"https://api.github.com/users/tehmaestro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/labels/support","name":"support","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-01T10:27:57Z","updated_at":"2015-10-01T10:53:23Z","closed_at":null,"body":"Hi.\r\n  When I try to deploy to Amazon, I get an error for the following command:\r\n`export COMPOSER_HOME=/root && /usr/bin/composer.phar global require fxp/composer-asset-plugin:1.0.0-beta4`\r\n\r\nI tried changing this to:\r\n`export COMPOSER_HOME=/root && /usr/bin/composer.phar global require fxp/composer-asset-plugin:1.0.3` but same result.\r\n\r\nAfter going `sudo` on the machine and running the exact same command, I get:\r\n```\r\n   PHP Fatal error:  Call to undefined method Composer\\Package\\Version\\VersionParser::parseLinks() in /root/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php on line 270\r\n\r\n   Fatal error: Call to undefined method Composer\\Package\\Version\\VersionParser::parseLinks() in /root/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php on line 270\r\n```\r\n\r\nI guess this is related to the fact that I was using an old version of `composer-asset-plugin` right? Ok, then I tried to update the plugin doing: `composer global update` but it does not work, same exception.\r\n\r\n I also tried `/usr/bin/composer.phar global require fxp/composer-asset-plugin:1.0.3` directly as sudo, but I still get the same error. It seems I'm stuck, as I cannot update the plugin. Any ideas?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/issues/comments/144694469","html_url":"https://github.com/francoispluchino/composer-asset-plugin/issues/151#issuecomment-144694469","issue_url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/issues/151","id":144694469,"user":{"login":"tehmaestro","id":9526833,"avatar_url":"https://avatars.githubusercontent.com/u/9526833?v=3","gravatar_id":"","url":"https://api.github.com/users/tehmaestro","html_url":"https://github.com/tehmaestro","followers_url":"https://api.github.com/users/tehmaestro/followers","following_url":"https://api.github.com/users/tehmaestro/following{/other_user}","gists_url":"https://api.github.com/users/tehmaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/tehmaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehmaestro/subscriptions","organizations_url":"https://api.github.com/users/tehmaestro/orgs","repos_url":"https://api.github.com/users/tehmaestro/repos","events_url":"https://api.github.com/users/tehmaestro/events{/privacy}","received_events_url":"https://api.github.com/users/tehmaestro/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T10:53:23Z","updated_at":"2015-10-01T10:53:23Z","body":"Yeah, I tried, but it keeps giving me the error on the current version. Should I try to remove it first?"}}