{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/3786","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/3786/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/3786/comments","events_url":"https://api.github.com/repos/composer/composer/issues/3786/events","html_url":"https://github.com/composer/composer/issues/3786","id":59056308,"number":3786,"title":"Composer generating empty .json files","user":{"login":"budde377","id":3490507,"avatar_url":"https://avatars0.githubusercontent.com/u/3490507?v=4","gravatar_id":"","url":"https://api.github.com/users/budde377","html_url":"https://github.com/budde377","followers_url":"https://api.github.com/users/budde377/followers","following_url":"https://api.github.com/users/budde377/following{/other_user}","gists_url":"https://api.github.com/users/budde377/gists{/gist_id}","starred_url":"https://api.github.com/users/budde377/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/budde377/subscriptions","organizations_url":"https://api.github.com/users/budde377/orgs","repos_url":"https://api.github.com/users/budde377/repos","events_url":"https://api.github.com/users/budde377/events{/privacy}","received_events_url":"https://api.github.com/users/budde377/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2015-02-26T11:06:22Z","updated_at":"2017-10-21T09:04:00Z","closed_at":"2015-03-05T08:49:13Z","author_association":"NONE","body":"When running `composer install` it always results in an exception\n\n```\n  [Composer\\Repository\\InvalidRepositoryException]                                                                                                      \n  Invalid repository data in /path/to/package/vendor/composer/installed.json, packages could not be loaded: [Seld\\JsonLint\\ParsingExcep  \n  tion] \"/path/to/package/vendor/composer/installed.json\" does not contain valid JSON                                                    \n  Parse error on line 1:                                                                                                                                \n\n  ^                                                                                                                                                     \n  Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['   \n```\n\nWhere the `installed.json` file is empty. \n\nWhen trying to initialize a package using `composer init` it generates an empty `composer.json` file.\n"},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/338377022","html_url":"https://github.com/composer/composer/issues/3786#issuecomment-338377022","issue_url":"https://api.github.com/repos/composer/composer/issues/3786","id":338377022,"user":{"login":"darthchudi","id":29544334,"avatar_url":"https://avatars3.githubusercontent.com/u/29544334?v=4","gravatar_id":"","url":"https://api.github.com/users/darthchudi","html_url":"https://github.com/darthchudi","followers_url":"https://api.github.com/users/darthchudi/followers","following_url":"https://api.github.com/users/darthchudi/following{/other_user}","gists_url":"https://api.github.com/users/darthchudi/gists{/gist_id}","starred_url":"https://api.github.com/users/darthchudi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darthchudi/subscriptions","organizations_url":"https://api.github.com/users/darthchudi/orgs","repos_url":"https://api.github.com/users/darthchudi/repos","events_url":"https://api.github.com/users/darthchudi/events{/privacy}","received_events_url":"https://api.github.com/users/darthchudi/received_events","type":"User","site_admin":false},"created_at":"2017-10-21T09:04:00Z","updated_at":"2017-10-21T09:04:00Z","author_association":"NONE","body":"Hey, I'm presently having this exact same issue. Did you ever resolve it?"}}
{"actor":{"display_login":"darthchudi"}}