{"action":"created","issue":{"url":"https://api.github.com/repos/Masterminds/glide/issues/206","repository_url":"https://api.github.com/repos/Masterminds/glide","labels_url":"https://api.github.com/repos/Masterminds/glide/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/Masterminds/glide/issues/206/comments","events_url":"https://api.github.com/repos/Masterminds/glide/issues/206/events","html_url":"https://github.com/Masterminds/glide/issues/206","id":124396442,"number":206,"title":"Glide fails to checkout vendor packages on Windows","user":{"login":"aboukirev","id":7827960,"avatar_url":"https://avatars.githubusercontent.com/u/7827960?v=3","gravatar_id":"","url":"https://api.github.com/users/aboukirev","html_url":"https://github.com/aboukirev","followers_url":"https://api.github.com/users/aboukirev/followers","following_url":"https://api.github.com/users/aboukirev/following{/other_user}","gists_url":"https://api.github.com/users/aboukirev/gists{/gist_id}","starred_url":"https://api.github.com/users/aboukirev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboukirev/subscriptions","organizations_url":"https://api.github.com/users/aboukirev/orgs","repos_url":"https://api.github.com/users/aboukirev/repos","events_url":"https://api.github.com/users/aboukirev/events{/privacy}","received_events_url":"https://api.github.com/users/aboukirev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-30T20:31:23Z","updated_at":"2016-02-11T01:17:58Z","closed_at":null,"body":"After #194 was fixed I started getting the following warnings a lot:\r\n```\r\n[INFO] Fetching updates for github.com/GeertJohan/go.rice.                                                                                                  \r\n[WARN] Unable to checkout github.com/GeertJohan/go.rice                                                                                                     \r\n[WARN] Update failed for github.com/GeertJohan/go.rice: fatal: could not create work tree dir 'D:\\Go\\src\\example.com\\vendor\\github.com\\GeertJohan\\go.rice': No such file or directory                                                                                                                                     \r\n: exit status 128                                                                                                                                           \r\n```\r\nThis is in Windows x64 using git from MSYS2.\r\n\r\nI was able to fix it by adding a snip of code that creates missing directory at line 497 in cmd/get_imports.go:\r\n```\r\n        if err = os.MkdirAll(dest, os.ModePerm); err != nil {\r\n\t\t\tWarn(\"Unable to create %s\\n\", dest)\r\n\t\t\treturn err\r\n        }\r\n```\r\nI wonder if it is inability of git from MSYS2 to create directory as it checks out the sources.  But this worked."},"comment":{"url":"https://api.github.com/repos/Masterminds/glide/issues/comments/182666096","html_url":"https://github.com/Masterminds/glide/issues/206#issuecomment-182666096","issue_url":"https://api.github.com/repos/Masterminds/glide/issues/206","id":182666096,"user":{"login":"douglaswth","id":77890,"avatar_url":"https://avatars.githubusercontent.com/u/77890?v=3","gravatar_id":"","url":"https://api.github.com/users/douglaswth","html_url":"https://github.com/douglaswth","followers_url":"https://api.github.com/users/douglaswth/followers","following_url":"https://api.github.com/users/douglaswth/following{/other_user}","gists_url":"https://api.github.com/users/douglaswth/gists{/gist_id}","starred_url":"https://api.github.com/users/douglaswth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglaswth/subscriptions","organizations_url":"https://api.github.com/users/douglaswth/orgs","repos_url":"https://api.github.com/users/douglaswth/repos","events_url":"https://api.github.com/users/douglaswth/events{/privacy}","received_events_url":"https://api.github.com/users/douglaswth/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T01:17:58Z","updated_at":"2016-02-11T01:17:58Z","body":"I'm running into this issue trying to run Glide under Cygwin."}}