{"action":"created","issue":{"url":"https://api.github.com/repos/yeoman/yo/issues/213","labels_url":"https://api.github.com/repos/yeoman/yo/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/yo/issues/213/comments","events_url":"https://api.github.com/repos/yeoman/yo/issues/213/events","html_url":"https://github.com/yeoman/yo/issues/213","id":44959880,"number":213,"title":"Cannot install yeoman 'Failed at the yo@1.3.0 postinstall script'","user":{"login":"andrewbarsoum","id":9033324,"avatar_url":"https://avatars.githubusercontent.com/u/9033324?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewbarsoum","html_url":"https://github.com/andrewbarsoum","followers_url":"https://api.github.com/users/andrewbarsoum/followers","following_url":"https://api.github.com/users/andrewbarsoum/following{/other_user}","gists_url":"https://api.github.com/users/andrewbarsoum/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewbarsoum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewbarsoum/subscriptions","organizations_url":"https://api.github.com/users/andrewbarsoum/orgs","repos_url":"https://api.github.com/users/andrewbarsoum/repos","events_url":"https://api.github.com/users/andrewbarsoum/events{/privacy}","received_events_url":"https://api.github.com/users/andrewbarsoum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-10-06T08:40:20Z","updated_at":"2015-01-20T07:58:51Z","closed_at":"2014-10-08T18:41:30Z","body":"Hi, \r\n\r\nWhen I run 'npm install -g yo' I get the following error message. \r\n\r\nI've reinstalled node.js and have been able to install other applications like brunch but can't get yo to work. \r\n\r\nI'm on a Windows 7 machine. \r\n\r\nAny ideas would be very welcome. \r\n\r\nThanks, \r\n\r\nAndrew\r\n\r\n\r\n\r\nMicrosoft Windows [Version 6.1.7601]\r\nCopyright (c) 2009 Microsoft Corporation.  All rights reserved.\r\n\r\nC:\\Users\\Andrew>npm install -g yo\r\nC:\\Users\\Andrew\\AppData\\Roaming\\npm\\yo -> C:\\Users\\Andrew\\AppData\\Roaming\\npm\\no\r\nde_modules\\yo\\cli.js\r\n\r\n> yo@1.3.0 postinstall C:\\Users\\Andrew\\AppData\\Roaming\\npm\\node_modules\\yo\r\n> node ./scripts/doctor\r\n\r\n\r\nnpm ERR! yo@1.3.0 postinstall: `node ./scripts/doctor`\r\nnpm ERR! spawn ENOENT\r\nnpm ERR!\r\nnpm ERR! Failed at the yo@1.3.0 postinstall script.\r\nnpm ERR! This is most likely a problem with the yo package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node ./scripts/doctor\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls yo\r\nnpm ERR! There is likely additional logging output above.\r\nnpm ERR! System Windows_NT 6.1.7601\r\nnpm ERR! command \"C:\\\\Program Files\\\\nodejs\\\\\\\\node.exe\" \"C:\\\\Program Files\\\\nod\r\nejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\" \"-g\" \"yo\"\r\nnpm ERR! cwd C:\\Users\\Andrew\r\nnpm ERR! node -v v0.10.32\r\nnpm ERR! npm -v 1.4.28\r\nnpm ERR! syscall spawn\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno ENOENT\r\nnpm ERR! not ok code 0\r\n\r\nC:\\Users\\Andrew>\r\n"},"comment":{"url":"https://api.github.com/repos/yeoman/yo/issues/comments/70617134","html_url":"https://github.com/yeoman/yo/issues/213#issuecomment-70617134","issue_url":"https://api.github.com/repos/yeoman/yo/issues/213","id":70617134,"user":{"login":"SBoudrias","id":923865,"avatar_url":"https://avatars.githubusercontent.com/u/923865?v=3","gravatar_id":"","url":"https://api.github.com/users/SBoudrias","html_url":"https://github.com/SBoudrias","followers_url":"https://api.github.com/users/SBoudrias/followers","following_url":"https://api.github.com/users/SBoudrias/following{/other_user}","gists_url":"https://api.github.com/users/SBoudrias/gists{/gist_id}","starred_url":"https://api.github.com/users/SBoudrias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SBoudrias/subscriptions","organizations_url":"https://api.github.com/users/SBoudrias/orgs","repos_url":"https://api.github.com/users/SBoudrias/repos","events_url":"https://api.github.com/users/SBoudrias/events{/privacy}","received_events_url":"https://api.github.com/users/SBoudrias/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T07:58:51Z","updated_at":"2015-01-20T07:58:51Z","body":"@xtphty This is not an issue with your path, `npm` scripts are run from the local .bin folder - you shouldn't add it to your path. Maybe open an issue on npm and see what they have to say about it."}}