{"action":"closed","issue":{"url":"https://api.github.com/repos/erlang/rebar3/issues/1168","repository_url":"https://api.github.com/repos/erlang/rebar3","labels_url":"https://api.github.com/repos/erlang/rebar3/issues/1168/labels{/name}","comments_url":"https://api.github.com/repos/erlang/rebar3/issues/1168/comments","events_url":"https://api.github.com/repos/erlang/rebar3/issues/1168/events","html_url":"https://github.com/erlang/rebar3/issues/1168","id":150142592,"number":1168,"title":"Unable to build on Windows 7  (Erlang/OTP 18.3)","user":{"login":"animeshb","id":1550696,"avatar_url":"https://avatars.githubusercontent.com/u/1550696?v=3","gravatar_id":"","url":"https://api.github.com/users/animeshb","html_url":"https://github.com/animeshb","followers_url":"https://api.github.com/users/animeshb/followers","following_url":"https://api.github.com/users/animeshb/following{/other_user}","gists_url":"https://api.github.com/users/animeshb/gists{/gist_id}","starred_url":"https://api.github.com/users/animeshb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/animeshb/subscriptions","organizations_url":"https://api.github.com/users/animeshb/orgs","repos_url":"https://api.github.com/users/animeshb/repos","events_url":"https://api.github.com/users/animeshb/events{/privacy}","received_events_url":"https://api.github.com/users/animeshb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/erlang/rebar3/labels/more%20info%20needed","name":"more info needed","color":"d4c5f9"},{"url":"https://api.github.com/repos/erlang/rebar3/labels/Windows","name":"Windows","color":"3366CC"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-21T17:39:42Z","updated_at":"2016-04-22T20:12:40Z","closed_at":"2016-04-22T20:12:40Z","body":"Hi,\r\n\r\nI am unable to build rebar3 on Windows 7 x64, Erlang/OTP 17.5.\r\n\r\nWhen I run bootstrap.bat I get the following output:\r\n\r\n    abulusu@lptoshiba /cygdrive/e/_programs/rebar3\r\n    $ ./bootstrap.bat\r\n    escript: exception throw: {error,{rebar_prv_update,package_index_write}}\r\n      in function  rebar_prv_update:do/1 (src/rebar_prv_update.erl, line 77)\r\n      in call from rebar_core:do/2 (src/rebar_core.erl, line 125)\r\n      in call from erl_eval:do_apply/6 (erl_eval.erl, line 670)\r\n      in call from escript:eval_exprs/5 (escript.erl, line 871)\r\n      in call from erl_eval:local_func/6 (erl_eval.erl, line 557)\r\n      in call from escript:interpret/4 (escript.erl, line 787)\r\n      in call from escript:start/1 (escript.erl, line 277)\r\n      in call from init:start_it/1 (init.erl, line 1055)\r\n\r\nWhen I run it again, I get the same error.\r\n\r\n    abulusu@lptoshiba /cygdrive/e/_programs/rebar3\r\n    $ ./bootstrap.bat\r\n    Dependency providers already exists\r\n    Dependency getopt already exists\r\n    Dependency cf already exists\r\n    Dependency erlware_commons already exists\r\n    Dependency certifi already exists\r\n    escript: exception throw: {error,{rebar_prv_update,package_index_write}}\r\n      in function  rebar_prv_update:do/1 (src/rebar_prv_update.erl, line 77)\r\n      in call from rebar_core:do/2 (src/rebar_core.erl, line 125)\r\n      in call from erl_eval:do_apply/6 (erl_eval.erl, line 670)\r\n      in call from escript:eval_exprs/5 (escript.erl, line 871)\r\n      in call from erl_eval:local_func/6 (erl_eval.erl, line 557)\r\n      in call from escript:interpret/4 (escript.erl, line 787)\r\n      in call from escript:start/1 (escript.erl, line 277)\r\n      in call from init:start_it/1 (init.erl, line 1055)\r\n\r\n\r\nI have installed erlang 18.3 through chocolatey."}}