{"action":"created","issue":{"url":"https://api.github.com/repos/ember-fastboot/ember-fastboot-server/issues/40","repository_url":"https://api.github.com/repos/ember-fastboot/ember-fastboot-server","labels_url":"https://api.github.com/repos/ember-fastboot/ember-fastboot-server/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/ember-fastboot/ember-fastboot-server/issues/40/comments","events_url":"https://api.github.com/repos/ember-fastboot/ember-fastboot-server/issues/40/events","html_url":"https://github.com/ember-fastboot/ember-fastboot-server/issues/40","id":147906944,"number":40,"title":"Install fails on Windows","user":{"login":"vlascik","id":12816402,"avatar_url":"https://avatars.githubusercontent.com/u/12816402?v=3","gravatar_id":"","url":"https://api.github.com/users/vlascik","html_url":"https://github.com/vlascik","followers_url":"https://api.github.com/users/vlascik/followers","following_url":"https://api.github.com/users/vlascik/following{/other_user}","gists_url":"https://api.github.com/users/vlascik/gists{/gist_id}","starred_url":"https://api.github.com/users/vlascik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlascik/subscriptions","organizations_url":"https://api.github.com/users/vlascik/orgs","repos_url":"https://api.github.com/users/vlascik/repos","events_url":"https://api.github.com/users/vlascik/events{/privacy}","received_events_url":"https://api.github.com/users/vlascik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-12T23:54:32Z","updated_at":"2016-05-09T12:43:02Z","closed_at":null,"body":"`ember install ember-cli-fastboot` fails because of ember-fastboot-server postInstall script on Windows\r\n```\r\nnpm ERR! ember-fastboot-server@0.5.4 postinstall: `scripts/is-not-legacy-vm || npm install contextify@^0.1.11`\r\nnpm ERR! Exit status 1\r\n`scripts/is-not-legacy-vm || npm install contextify@^0.1.11`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the ember-fastboot-server@0.5.4 postinstall script 'scripts/is-not-legacy-vm || npm install contextify@^0.1.11'.\r\n```\r\n`scripts/is-not-legacy-vm` won't run just by using `#!/usr/bin/env node` as first line of `scripts/is-not-legacy-vm` on Windows, so it tries to include contextify, which is not needed on recent node anyway, and requiring it is a kind of PITA because of prerequisites like specific version of Visual Studio installed. Changing postInstall to `node scripts/is-not-legacy-vm || npm install contextify@^0.1.11` works on Windows, but perhaps something more universal would be a better idea."},"comment":{"url":"https://api.github.com/repos/ember-fastboot/ember-fastboot-server/issues/comments/217853724","html_url":"https://github.com/ember-fastboot/ember-fastboot-server/issues/40#issuecomment-217853724","issue_url":"https://api.github.com/repos/ember-fastboot/ember-fastboot-server/issues/40","id":217853724,"user":{"login":"bmeurant","id":141720,"avatar_url":"https://avatars.githubusercontent.com/u/141720?v=3","gravatar_id":"","url":"https://api.github.com/users/bmeurant","html_url":"https://github.com/bmeurant","followers_url":"https://api.github.com/users/bmeurant/followers","following_url":"https://api.github.com/users/bmeurant/following{/other_user}","gists_url":"https://api.github.com/users/bmeurant/gists{/gist_id}","starred_url":"https://api.github.com/users/bmeurant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmeurant/subscriptions","organizations_url":"https://api.github.com/users/bmeurant/orgs","repos_url":"https://api.github.com/users/bmeurant/repos","events_url":"https://api.github.com/users/bmeurant/events{/privacy}","received_events_url":"https://api.github.com/users/bmeurant/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T12:43:02Z","updated_at":"2016-05-09T12:43:02Z","body":"This is related to  ember-fastboot/ember-cli-fastboot#176. Isn't it ?\r\n\r\n0.6.2 did not yet bump ember-fastboot-server version and does not work. Awaiting the next release you can install the master version : \r\n\r\n`ember install https://github.com/ember-fastboot/ember-cli-fastboot.git`"}}