{"action":"created","issue":{"url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/54","labels_url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/54/comments","events_url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/54/events","html_url":"https://github.com/drupal-composer/drupal-project/issues/54","id":109146406,"number":54,"title":"how to deal with non-drupal dependencies of drupal modules?","user":{"login":"michaellenahan","id":219397,"avatar_url":"https://avatars.githubusercontent.com/u/219397?v=3","gravatar_id":"","url":"https://api.github.com/users/michaellenahan","html_url":"https://github.com/michaellenahan","followers_url":"https://api.github.com/users/michaellenahan/followers","following_url":"https://api.github.com/users/michaellenahan/following{/other_user}","gists_url":"https://api.github.com/users/michaellenahan/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellenahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellenahan/subscriptions","organizations_url":"https://api.github.com/users/michaellenahan/orgs","repos_url":"https://api.github.com/users/michaellenahan/repos","events_url":"https://api.github.com/users/michaellenahan/events{/privacy}","received_events_url":"https://api.github.com/users/michaellenahan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-30T18:00:04Z","updated_at":"2015-09-30T21:06:52Z","closed_at":null,"body":"I wanted to install https://www.drupal.org/project/webprofiler.\r\n\r\n```\r\ncomposer create-project drupal-composer/drupal-project:8.x-dev dc1 --stability dev --no-interaction\r\ncd dc1\r\ncomposer require \"drupal/webprofiler:8.2.0-beta15\"\r\n```\r\n\r\nError message was as follows:\r\n```\r\n./composer.json has been updated\r\nLoading composer repositories with package information\r\nUpdating dependencies (including require-dev)\r\nYour requirements could not be resolved to an installable set of packages.\r\n\r\n  Problem 1\r\n    - Installation request for drupal/webprofiler 8.2.0-beta15 -> satisfiable by drupal/webprofiler[8.2.0-beta15].\r\n    - drupal/webprofiler 8.2.0-beta15 requires isagalaev/highlight.js 8.* -> no matching package found.\r\n\r\nPotential causes:\r\n - A typo in the package name\r\n - The package is not available in a stable-enough version according to your minimum-stability setting\r\n   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.\r\n\r\nRead <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.\r\n\r\nInstallation failed, reverting ./composer.json to its original content.\r\n```\r\n\r\nI wonder what the problem is here? Is it that https://packagist.drupal-composer.org does not know about isagalaev/highlight.js?\r\n\r\nAh. I guess I need to add github under \"repositories\". Will try that tomorrow :) "},"comment":{"url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/comments/144542616","html_url":"https://github.com/drupal-composer/drupal-project/issues/54#issuecomment-144542616","issue_url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/54","id":144542616,"user":{"login":"webflo","id":123946,"avatar_url":"https://avatars.githubusercontent.com/u/123946?v=3","gravatar_id":"","url":"https://api.github.com/users/webflo","html_url":"https://github.com/webflo","followers_url":"https://api.github.com/users/webflo/followers","following_url":"https://api.github.com/users/webflo/following{/other_user}","gists_url":"https://api.github.com/users/webflo/gists{/gist_id}","starred_url":"https://api.github.com/users/webflo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webflo/subscriptions","organizations_url":"https://api.github.com/users/webflo/orgs","repos_url":"https://api.github.com/users/webflo/repos","events_url":"https://api.github.com/users/webflo/events{/privacy}","received_events_url":"https://api.github.com/users/webflo/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T21:06:52Z","updated_at":"2015-09-30T21:06:52Z","body":"There are several things wrong in webprofilers [composer.json](http://cgit.drupalcode.org/webprofiler/tree/composer.json).\r\n\r\n- The \"repositories\" key is only supported on root packages. It means composer will not resolve this repo. https://getcomposer.org/doc/04-schema.md#repositories\r\n- The autoload definition. \"vendor/symfony/stopwatch/Symfony/Component/Stopwatch/Stopwatch.php\" is not part of drupal/webprofiler package.\r\n- The package type is not valid. Should be \"drupal-module\"\r\n\r\n"}}