{"action":"created","issue":{"url":"https://api.github.com/repos/elm-lang/elm-package/issues/250","repository_url":"https://api.github.com/repos/elm-lang/elm-package","labels_url":"https://api.github.com/repos/elm-lang/elm-package/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/elm-package/issues/250/comments","events_url":"https://api.github.com/repos/elm-lang/elm-package/issues/250/events","html_url":"https://github.com/elm-lang/elm-package/issues/250","id":186765039,"number":250,"title":"Strange errors for invalid version bounds","user":{"login":"colinmccabe","id":5923214,"avatar_url":"https://avatars1.githubusercontent.com/u/5923214?v=3","gravatar_id":"","url":"https://api.github.com/users/colinmccabe","html_url":"https://github.com/colinmccabe","followers_url":"https://api.github.com/users/colinmccabe/followers","following_url":"https://api.github.com/users/colinmccabe/following{/other_user}","gists_url":"https://api.github.com/users/colinmccabe/gists{/gist_id}","starred_url":"https://api.github.com/users/colinmccabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinmccabe/subscriptions","organizations_url":"https://api.github.com/users/colinmccabe/orgs","repos_url":"https://api.github.com/users/colinmccabe/repos","events_url":"https://api.github.com/users/colinmccabe/events{/privacy}","received_events_url":"https://api.github.com/users/colinmccabe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-02T10:35:52Z","updated_at":"2017-07-10T21:55:56Z","closed_at":"2017-07-10T21:55:28Z","body":"Possibly related to #249\r\n\r\nRunning `elm package install` on a clean project containing only an `elm-package.json` with invalid version bounds `\"elm-lang/html\": \"2.0.0 <= v < 2.0.0\"`\r\n\r\n```\r\n{\r\n    \"version\": \"1.0.0\",\r\n    \"summary\": \"helpful summary of your project, less than 80 characters\",\r\n    \"repository\": \"https://github.com/user/project.git\",\r\n    \"license\": \"BSD3\",\r\n    \"source-directories\": [\r\n        \".\"\r\n    ],\r\n    \"exposed-modules\": [],\r\n    \"dependencies\": {\r\n        \"elm-lang/core\": \"5.0.0 <= v < 6.0.0\",\r\n        \"elm-lang/html\": \"2.0.0 <= v < 2.0.0\"\r\n    },\r\n    \"elm-version\": \"0.18.0 <= v < 0.19.0\"\r\n}\r\n```\r\n\r\nresults in\r\n\r\n```\r\nelm-package: elm-stuff/exact-dependencies.json: openBinaryFile: does not exist (No such file or directory)\r\n```\r\n\r\nCreating an empty `elm-stuff` and running `elm package install` again prints only `Packages configured successfully!`, and creates empty `elm-stuff/exact-dependencies.json` and `elm-stuff/packages`.\r\n\r\nUsing Elm 0.18 Beta for Mac from this revision of the Gist: https://gist.github.com/evancz/8032a3ac6eb7a4ac8e0956ed6d386798/7f5775901120d24726e6610e8065aea5b17643da"},"comment":{"url":"https://api.github.com/repos/elm-lang/elm-package/issues/comments/314261290","html_url":"https://github.com/elm-lang/elm-package/issues/250#issuecomment-314261290","issue_url":"https://api.github.com/repos/elm-lang/elm-package/issues/250","id":314261290,"user":{"login":"evancz","id":1658058,"avatar_url":"https://avatars3.githubusercontent.com/u/1658058?v=3","gravatar_id":"","url":"https://api.github.com/users/evancz","html_url":"https://github.com/evancz","followers_url":"https://api.github.com/users/evancz/followers","following_url":"https://api.github.com/users/evancz/following{/other_user}","gists_url":"https://api.github.com/users/evancz/gists{/gist_id}","starred_url":"https://api.github.com/users/evancz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evancz/subscriptions","organizations_url":"https://api.github.com/users/evancz/orgs","repos_url":"https://api.github.com/users/evancz/repos","events_url":"https://api.github.com/users/evancz/events{/privacy}","received_events_url":"https://api.github.com/users/evancz/received_events","type":"User","site_admin":false},"created_at":"2017-07-10T21:55:56Z","updated_at":"2017-07-10T21:55:56Z","body":"Added some new code that will disallow invalid bounds with nicer error messages. Thanks for the report!"}}
{"actor":{"display_login":"evancz"}}