{"action":"created","issue":{"url":"https://api.github.com/repos/nchaulet/httpbackend/issues/14","labels_url":"https://api.github.com/repos/nchaulet/httpbackend/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/nchaulet/httpbackend/issues/14/comments","events_url":"https://api.github.com/repos/nchaulet/httpbackend/issues/14/events","html_url":"https://github.com/nchaulet/httpbackend/issues/14","id":115596080,"number":14,"title":"Tests failing due to dependency issues in npm3","user":{"login":"chrisuehlinger","id":2203523,"avatar_url":"https://avatars.githubusercontent.com/u/2203523?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisuehlinger","html_url":"https://github.com/chrisuehlinger","followers_url":"https://api.github.com/users/chrisuehlinger/followers","following_url":"https://api.github.com/users/chrisuehlinger/following{/other_user}","gists_url":"https://api.github.com/users/chrisuehlinger/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisuehlinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisuehlinger/subscriptions","organizations_url":"https://api.github.com/users/chrisuehlinger/orgs","repos_url":"https://api.github.com/users/chrisuehlinger/repos","events_url":"https://api.github.com/users/chrisuehlinger/events{/privacy}","received_events_url":"https://api.github.com/users/chrisuehlinger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-06T21:42:30Z","updated_at":"2015-11-06T22:32:42Z","closed_at":null,"body":"Hey there! I've been using httpbackend at work with my automated protractor tests, and I've been very pleased with it, but we've started having problems recently as a result of dependency issues. After sorting through which dependency caused the issue, I was able to create a reduced test case that demonstrated the problem, here are the steps to reproduce:\r\n\r\nOS: Windows 7 (although this may happen on Mac OS X too, I haven't tested)\r\nNode Version: 4.2.2\r\nNPM Version: 3.3.12\r\n\r\n1. Go to https://angularjs.org/ and create the 2 files described in the tutorial.\r\n2. In the project directory, run `npm install http-backend protractor`\r\n3. Run the tests using the version of protractor that was installed, like so: `./node_modules/.bin/protractor ./config.js`\r\n4. You should see the following error message, followed by a stack trace that lads to `\\node_modules\\selenium-webdriver\\lib\\webdriver\\promise.js:112:9`:\r\n\r\n```\r\nUsing the selenium server at http://localhost:4444/wd/hub\r\n[launcher] Running 1 instances of WebDriver\r\nStarted\r\nF\r\n\r\nFailures:\r\n1) angularjs homepage todo list should add a todo\r\n  Message:\r\n    Failed: Unimplemented function: \"then\"\r\n```\r\n\r\nI think this may have to do with some of the dependencies that your project is relying on, which seem to include an old version of protractor.\r\n\r\nI'm also getting errors when performing installs with npm3, which indicate that grunt-connect relies on grunt as a peerDependency. Looking through your package.json, it looks like you may be able to move the grunt and mocha related dependencies into devDependencies and make the most recent version of protractor into a peerDependency.\r\n\r\nIf you'd like, I can do this myself and submit a Pull Request.\r\n\r\nThanks for all the hard work!\r\n-Chris"},"comment":{"url":"https://api.github.com/repos/nchaulet/httpbackend/issues/comments/154563097","html_url":"https://github.com/nchaulet/httpbackend/issues/14#issuecomment-154563097","issue_url":"https://api.github.com/repos/nchaulet/httpbackend/issues/14","id":154563097,"user":{"login":"nchaulet","id":1336873,"avatar_url":"https://avatars.githubusercontent.com/u/1336873?v=3","gravatar_id":"","url":"https://api.github.com/users/nchaulet","html_url":"https://github.com/nchaulet","followers_url":"https://api.github.com/users/nchaulet/followers","following_url":"https://api.github.com/users/nchaulet/following{/other_user}","gists_url":"https://api.github.com/users/nchaulet/gists{/gist_id}","starred_url":"https://api.github.com/users/nchaulet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nchaulet/subscriptions","organizations_url":"https://api.github.com/users/nchaulet/orgs","repos_url":"https://api.github.com/users/nchaulet/repos","events_url":"https://api.github.com/users/nchaulet/events{/privacy}","received_events_url":"https://api.github.com/users/nchaulet/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T22:32:42Z","updated_at":"2015-11-06T22:32:42Z","body":"Thanks"}}