{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/4902","labels_url":"https://api.github.com/repos/atom/atom/issues/4902/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/4902/comments","events_url":"https://api.github.com/repos/atom/atom/issues/4902/events","html_url":"https://github.com/atom/atom/issues/4902","id":53693115,"number":4902,"title":"Problem Installing Atom Packages on MS Windows with Github Installed Git","user":{"login":"GGillan","id":9140259,"avatar_url":"https://avatars.githubusercontent.com/u/9140259?v=3","gravatar_id":"","url":"https://api.github.com/users/GGillan","html_url":"https://github.com/GGillan","followers_url":"https://api.github.com/users/GGillan/followers","following_url":"https://api.github.com/users/GGillan/following{/other_user}","gists_url":"https://api.github.com/users/GGillan/gists{/gist_id}","starred_url":"https://api.github.com/users/GGillan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GGillan/subscriptions","organizations_url":"https://api.github.com/users/GGillan/orgs","repos_url":"https://api.github.com/users/GGillan/repos","events_url":"https://api.github.com/users/GGillan/events{/privacy}","received_events_url":"https://api.github.com/users/GGillan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/windows","name":"windows","color":"fcca27"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-07T22:52:53Z","updated_at":"2015-01-15T21:12:02Z","closed_at":null,"body":"I am attempting to install an Atom package and the install keeps failing with the same error (see below). After investigating, it seems that there is a mismatch between the way that the GitHub installer installs Git on Windows (Windows 7 in this case) and the way that Atom expects to find Git.\r\n\r\nGitHub is installing Git as a \"ClickOnce Application Reference\". It does not get it's own place on the system path, and the deeply nested directory where it is located has a hellishly long name that is not conducive to being added to the path. See below for a partial image of that directory. Notice the path information displayed at the top is only partial!\r\n\r\nAll of the advice that I found for solving issues of this sort involve adding the Git directory to the system's path, but that is not practical with the way GitHub currently installs itself. Is there another solution?\r\n\r\nThanks for your help.\r\n\r\nGeorge\r\n______\r\n\r\nInstalling “Sublime-Style-Column-Selection@1.1.3” failed.Hide output…\r\n\r\nnpm http GET https://registry.npmjs.org/emissary\r\nnpm http 304 https://registry.npmjs.org/emissary\r\nnpm http GET https://registry.npmjs.org/mixto\r\nnpm http GET https://registry.npmjs.org/property-accessors\r\nnpm http GET https://registry.npmjs.org/underscore-plus\r\nnpm ERR! not found: git\r\nnpm ERR! \r\nnpm ERR! Failed using git.\r\nnpm ERR! This is most likely not a problem with npm itself.\r\nnpm ERR! Please check if you have git installed and in your PATH.\r\n\r\nnpm ERR! System Windows_NT 6.1.7601\r\nnpm ERR! command \"c:\\\\Users\\\\George\\\\AppData\\\\Local\\\\atom\\\\app-0.165.0\\\\resources\\\\app\\\\apm\\\\node_modules\\\\atom-package-manager\\\\bin\\\\\\\\node.exe\" \"c:\\\\Users\\\\George\\\\AppData\\\\Local\\\\atom\\\\app-0.165.0\\\\resources\\\\app\\\\apm\\\\node_modules\\\\atom-package-manager\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"--globalconfig\" \"c:\\\\Users\\\\George\\\\AppData\\\\Local\\\\atom\\\\app-0.165.0\\\\resources\\\\app\\\\apm\\\\node_modules\\\\atom-package-manager\\\\.apmrc\" \"--userconfig\" \"C:\\\\Users\\\\George\\\\.atom\\\\.apmrc\" \"install\" \"C:\\\\Users\\\\George\\\\AppData\\\\Local\\\\Temp\\\\d-11507-7104-mfvqtr\\\\package.tgz\" \"--target=0.18.0\" \"--arch=ia32\" \"--msvs_version=2013\"\r\nnpm ERR! cwd C:\\Users\\George\\AppData\\Local\\Temp\\apm-install-dir-11507-7104-1s0c3gy\r\nnpm ERR! node -v v0.10.33\r\nnpm ERR! npm -v 1.4.4\r\nnpm ERR! code ENOGIT\r\nnpm http 304 https://registry.npmjs.org/property-accessors\r\nnpm http 304 https://registry.npmjs.org/underscore-plus\r\nnpm http 304 https://registry.npmjs.org/mixto\r\nnpm\r\n\r\n![gith tion_317444273a93ac29_0002 0006_159c473f7cb71f94_2015-01-07_15-47-03](https://cloud.githubusercontent.com/assets/9140259/5654842/85a33e92-9684-11e4-8208-567226fdb1b6.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/70162490","html_url":"https://github.com/atom/atom/issues/4902#issuecomment-70162490","issue_url":"https://api.github.com/repos/atom/atom/issues/4902","id":70162490,"user":{"login":"paulcbetts","id":1396,"avatar_url":"https://avatars.githubusercontent.com/u/1396?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcbetts","html_url":"https://github.com/paulcbetts","followers_url":"https://api.github.com/users/paulcbetts/followers","following_url":"https://api.github.com/users/paulcbetts/following{/other_user}","gists_url":"https://api.github.com/users/paulcbetts/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcbetts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcbetts/subscriptions","organizations_url":"https://api.github.com/users/paulcbetts/orgs","repos_url":"https://api.github.com/users/paulcbetts/repos","events_url":"https://api.github.com/users/paulcbetts/events{/privacy}","received_events_url":"https://api.github.com/users/paulcbetts/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T21:12:01Z","updated_at":"2015-01-15T21:12:01Z","body":"@GGillan Yeah, that is a negative side-effect, though afaik many packages won't require Git to be installed. You can also install MSysGit and it won't affect GitHub for Windows's Git too"}}