{"action":"created","issue":{"url":"https://api.github.com/repos/iojs/io.js/issues/751","labels_url":"https://api.github.com/repos/iojs/io.js/issues/751/labels{/name}","comments_url":"https://api.github.com/repos/iojs/io.js/issues/751/comments","events_url":"https://api.github.com/repos/iojs/io.js/issues/751/events","html_url":"https://github.com/iojs/io.js/issues/751","id":56908151,"number":751,"title":"Windows: Broken node alias","user":{"login":"kkoopa","id":4103081,"avatar_url":"https://avatars.githubusercontent.com/u/4103081?v=3","gravatar_id":"","url":"https://api.github.com/users/kkoopa","html_url":"https://github.com/kkoopa","followers_url":"https://api.github.com/users/kkoopa/followers","following_url":"https://api.github.com/users/kkoopa/following{/other_user}","gists_url":"https://api.github.com/users/kkoopa/gists{/gist_id}","starred_url":"https://api.github.com/users/kkoopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkoopa/subscriptions","organizations_url":"https://api.github.com/users/kkoopa/orgs","repos_url":"https://api.github.com/users/kkoopa/repos","events_url":"https://api.github.com/users/kkoopa/events{/privacy}","received_events_url":"https://api.github.com/users/kkoopa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iojs/io.js/labels/windows","name":"windows","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-02-07T11:29:45Z","updated_at":"2015-03-20T15:31:20Z","closed_at":null,"body":"The node compatibility link is unusable on windows. Addons depend on doing a callback to the specified executable module via node_module_register, which is not possible when the name is wrong.\r\n\r\nIf an addon depends on iojs.exe, it cannot be used through node.exe and vice versa, giving the 'Module did not self-register.' error.\r\n\r\n```js\r\nnode -e \"require('./test/build/Release/addon')\"\r\nError: Module did not self-register.\r\n\r\niojs -e \"require('./test/build/Release/addon')\"\r\n```"},"comment":{"url":"https://api.github.com/repos/iojs/io.js/issues/comments/84049897","html_url":"https://github.com/iojs/io.js/issues/751#issuecomment-84049897","issue_url":"https://api.github.com/repos/iojs/io.js/issues/751","id":84049897,"user":{"login":"weikinhuang","id":794658,"avatar_url":"https://avatars.githubusercontent.com/u/794658?v=3","gravatar_id":"","url":"https://api.github.com/users/weikinhuang","html_url":"https://github.com/weikinhuang","followers_url":"https://api.github.com/users/weikinhuang/followers","following_url":"https://api.github.com/users/weikinhuang/following{/other_user}","gists_url":"https://api.github.com/users/weikinhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/weikinhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weikinhuang/subscriptions","organizations_url":"https://api.github.com/users/weikinhuang/orgs","repos_url":"https://api.github.com/users/weikinhuang/repos","events_url":"https://api.github.com/users/weikinhuang/events{/privacy}","received_events_url":"https://api.github.com/users/weikinhuang/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T15:31:20Z","updated_at":"2015-03-20T15:31:20Z","body":"As a workaround, in Windows 7+, I was able to \"fix\" this by turning node.exe into a symlink to iojs.exe.\r\n\r\nFrom an administrator level cmd prompt:\r\n```\r\nmove \"C:\\Program Files\\iojs\\node.exe\" \"C:\\Program Files\\iojs\\node.exe.bak\"\r\nmklink \"C:\\Program Files\\iojs\\node.exe\" \"C:\\Program Files\\iojs\\iojs.exe\"\r\n```"}}