{"action":"opened","issue":{"url":"https://api.github.com/repos/airportyh/testem/issues/481","labels_url":"https://api.github.com/repos/airportyh/testem/issues/481/labels{/name}","comments_url":"https://api.github.com/repos/airportyh/testem/issues/481/comments","events_url":"https://api.github.com/repos/airportyh/testem/issues/481/events","html_url":"https://github.com/airportyh/testem/issues/481","id":56662971,"number":481,"title":"Undefined is not a function when setting up an API proxy","user":{"login":"adamlc","id":809944,"avatar_url":"https://avatars.githubusercontent.com/u/809944?v=3","gravatar_id":"","url":"https://api.github.com/users/adamlc","html_url":"https://github.com/adamlc","followers_url":"https://api.github.com/users/adamlc/followers","following_url":"https://api.github.com/users/adamlc/following{/other_user}","gists_url":"https://api.github.com/users/adamlc/gists{/gist_id}","starred_url":"https://api.github.com/users/adamlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamlc/subscriptions","organizations_url":"https://api.github.com/users/adamlc/orgs","repos_url":"https://api.github.com/users/adamlc/repos","events_url":"https://api.github.com/users/adamlc/events{/privacy}","received_events_url":"https://api.github.com/users/adamlc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-05T12:18:07Z","updated_at":"2015-02-05T12:18:07Z","closed_at":null,"body":"Hi guys, I'm compltely new to testem and front end testing in general!\r\n\r\nI'm trying to setup an API proxy to talk to my backend, but unfortunately testem fails to start with the following error:\r\n\r\n```\r\n/usr/local/lib/node_modules/testem/lib/server/index.js:128\r\n        self.proxy = new httpProxy.RoutingProxy({changeOrigin: true})\r\n                     ^\r\nTypeError: undefined is not a function\r\n    at EventEmitter.Server.configureProxy (/usr/local/lib/node_modules/testem/lib/server/index.js:128:22)\r\n    at EventEmitter.Server.createExpress (/usr/local/lib/node_modules/testem/lib/server/index.js:68:10)\r\n    at EventEmitter.Server.start (/usr/local/lib/node_modules/testem/lib/server/index.js:38:10)\r\n    at EventEmitter.App.startServer (/usr/local/lib/node_modules/testem/lib/ci/index.js:58:17)\r\n    at /usr/local/lib/node_modules/testem/node_modules/async/lib/async.js:610:21\r\n    at /usr/local/lib/node_modules/testem/node_modules/async/lib/async.js:249:17\r\n    at iterate (/usr/local/lib/node_modules/testem/node_modules/async/lib/async.js:149:13)\r\n    at async.eachSeries (/usr/local/lib/node_modules/testem/node_modules/async/lib/async.js:165:9)\r\n    at _asyncMap (/usr/local/lib/node_modules/testem/node_modules/async/lib/async.js:248:13)\r\n    at Object.mapSeries (/usr/local/lib/node_modules/testem/node_modules/async/lib/async.js:231:23)\r\n```\r\n\r\nI'm using testem on a Mac with Yosemite. For reference heres me testem.json, the tests work when I remove the proxy.\r\n\r\n```json\r\n{\r\n    \"framework\": \"qunit\",\r\n    \"src_files\": [\r\n      \"public/j/libs.js\",\r\n      \"public/j/app.js\",\r\n      \"ember/tests/test.js\"\r\n    ],\r\n    \"launch_in_dev\": [\"PhantomJS\"],\r\n    \"launch_in_ci\": [\"PhantomJS\"],\r\n    \"proxies\": {\r\n        \"/api\": {\r\n            \"port\": 80,\r\n            \"host\": \"192.168.59.103\"\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nThanks in advance!"}}