{"action":"created","issue":{"url":"https://api.github.com/repos/TooTallNate/node-gyp/issues/591","labels_url":"https://api.github.com/repos/TooTallNate/node-gyp/issues/591/labels{/name}","comments_url":"https://api.github.com/repos/TooTallNate/node-gyp/issues/591/comments","events_url":"https://api.github.com/repos/TooTallNate/node-gyp/issues/591/events","html_url":"https://github.com/TooTallNate/node-gyp/issues/591","id":61625320,"number":591,"title":"node-gyp reinstalls node for some reason ?","user":{"login":"redben","id":200361,"avatar_url":"https://avatars.githubusercontent.com/u/200361?v=3","gravatar_id":"","url":"https://api.github.com/users/redben","html_url":"https://github.com/redben","followers_url":"https://api.github.com/users/redben/followers","following_url":"https://api.github.com/users/redben/following{/other_user}","gists_url":"https://api.github.com/users/redben/gists{/gist_id}","starred_url":"https://api.github.com/users/redben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redben/subscriptions","organizations_url":"https://api.github.com/users/redben/orgs","repos_url":"https://api.github.com/users/redben/repos","events_url":"https://api.github.com/users/redben/events{/privacy}","received_events_url":"https://api.github.com/users/redben/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-14T15:09:13Z","updated_at":"2015-03-15T01:21:14Z","closed_at":null,"body":"I found this gist by @mcqueenorama https://gist.github.com/mcqueenorama/174f5f325fb35251578e (I have the same problem) \r\nBut could not find any discussion linking to it.\r\n\r\nWhy does node-gyp redownload node ?\r\n\r\nnode v0.12.0\r\nnpm 2.5.1\r\nnode-gyp v1.0.3\r\nOS X Yosemite\r\n(node installed via nvm FWIW)\r\n\r\nWhat do these lines mean ?\r\n> gyp verb install version is already installed, need to check \"installVersion\"\r\n> gyp verb got \"installVersion\" 0\r\n> gyp verb needs \"installVersion\" 9\r\n> gyp verb install version is no good; reinstalling"},"comment":{"url":"https://api.github.com/repos/TooTallNate/node-gyp/issues/comments/80791213","html_url":"https://github.com/TooTallNate/node-gyp/issues/591#issuecomment-80791213","issue_url":"https://api.github.com/repos/TooTallNate/node-gyp/issues/591","id":80791213,"user":{"login":"mcqueenorama","id":843136,"avatar_url":"https://avatars.githubusercontent.com/u/843136?v=3","gravatar_id":"","url":"https://api.github.com/users/mcqueenorama","html_url":"https://github.com/mcqueenorama","followers_url":"https://api.github.com/users/mcqueenorama/followers","following_url":"https://api.github.com/users/mcqueenorama/following{/other_user}","gists_url":"https://api.github.com/users/mcqueenorama/gists{/gist_id}","starred_url":"https://api.github.com/users/mcqueenorama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcqueenorama/subscriptions","organizations_url":"https://api.github.com/users/mcqueenorama/orgs","repos_url":"https://api.github.com/users/mcqueenorama/repos","events_url":"https://api.github.com/users/mcqueenorama/events{/privacy}","received_events_url":"https://api.github.com/users/mcqueenorama/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T01:21:14Z","updated_at":"2015-03-15T01:21:14Z","body":"There's a version file in there and it needs to have the version of something.  In this case of an ugly hack,  it was on a server with no network connectivity so it could not get the source code. I don't know why it wants 9.  It looks like the versions are all correct, so I put the right node source code in there and jammed a 9 in that file, and it started working.  Maybe somebody will explain the \"why\".\r\n\r\nl-sclX1Q0DV7-M:lib bmcquee$ ls -a ~/.node-gyp/0.10.32/\r\n.\t\t..\t\tcommon.gypi\tdeps\t\tinstallVersion\tsrc\t\ttools\r\nl-sclX1Q0DV7-M:lib bmcquee$ cat !$\r\ncat ~/.node-gyp/0.10.32/installVersion\r\n9\r\n"}}