{"action":"created","issue":{"url":"https://api.github.com/repos/Rob--W/cors-anywhere/issues/23","labels_url":"https://api.github.com/repos/Rob--W/cors-anywhere/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/Rob--W/cors-anywhere/issues/23/comments","events_url":"https://api.github.com/repos/Rob--W/cors-anywhere/issues/23/events","html_url":"https://github.com/Rob--W/cors-anywhere/pull/23","id":72216513,"number":23,"title":"Freezing EventEmitter major version","user":{"login":"pedro-ribeiro","id":1186492,"avatar_url":"https://avatars.githubusercontent.com/u/1186492?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro-ribeiro","html_url":"https://github.com/pedro-ribeiro","followers_url":"https://api.github.com/users/pedro-ribeiro/followers","following_url":"https://api.github.com/users/pedro-ribeiro/following{/other_user}","gists_url":"https://api.github.com/users/pedro-ribeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro-ribeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro-ribeiro/subscriptions","organizations_url":"https://api.github.com/users/pedro-ribeiro/orgs","repos_url":"https://api.github.com/users/pedro-ribeiro/repos","events_url":"https://api.github.com/users/pedro-ribeiro/events{/privacy}","received_events_url":"https://api.github.com/users/pedro-ribeiro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-30T16:40:55Z","updated_at":"2015-05-04T13:36:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Rob--W/cors-anywhere/pulls/23","html_url":"https://github.com/Rob--W/cors-anywhere/pull/23","diff_url":"https://github.com/Rob--W/cors-anywhere/pull/23.diff","patch_url":"https://github.com/Rob--W/cors-anywhere/pull/23.patch"},"body":"http-proxy 1.3.0 does not define an explicit EventEmitter version in its dependencies. This is only done since version 1.7.2.\r\n\r\nRelease 1.0.0 of EventEmitter introduces breaking changes (https://github.com/primus/eventemitter3/releases).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Rob--W/cors-anywhere/issues/comments/98706120","html_url":"https://github.com/Rob--W/cors-anywhere/pull/23#issuecomment-98706120","issue_url":"https://api.github.com/repos/Rob--W/cors-anywhere/issues/23","id":98706120,"user":{"login":"Rob--W","id":1365071,"avatar_url":"https://avatars.githubusercontent.com/u/1365071?v=3","gravatar_id":"","url":"https://api.github.com/users/Rob--W","html_url":"https://github.com/Rob--W","followers_url":"https://api.github.com/users/Rob--W/followers","following_url":"https://api.github.com/users/Rob--W/following{/other_user}","gists_url":"https://api.github.com/users/Rob--W/gists{/gist_id}","starred_url":"https://api.github.com/users/Rob--W/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rob--W/subscriptions","organizations_url":"https://api.github.com/users/Rob--W/orgs","repos_url":"https://api.github.com/users/Rob--W/repos","events_url":"https://api.github.com/users/Rob--W/events{/privacy}","received_events_url":"https://api.github.com/users/Rob--W/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T13:36:30Z","updated_at":"2015-05-04T13:36:30Z","body":"After running `npm install --production` with your changes, I get the following directory structure:\r\n\r\n```\r\nnode_modules/\r\nnode_modules/eventemitter3/\r\nnode_modules/http-proxy/\r\nnode_modules/http-proxy/node_modules/eventemitter3/\r\n```\r\n\r\nClearly, when http-proxy attempts to load eventemitter3, it will load its specific (and incompatible) copy of the eventemitter3 module, not the one that you've declared in package.json.\r\n\r\n(tested using npm 2.7.5, node v0.12.2)"}}