{"action":"created","issue":{"url":"https://api.github.com/repos/nodeschool/discussions/issues/1517","labels_url":"https://api.github.com/repos/nodeschool/discussions/issues/1517/labels{/name}","comments_url":"https://api.github.com/repos/nodeschool/discussions/issues/1517/comments","events_url":"https://api.github.com/repos/nodeschool/discussions/issues/1517/events","html_url":"https://github.com/nodeschool/discussions/issues/1517","id":113654335,"number":1517,"title":"stream-adventure Duplexer cannot succeed","user":{"login":"MarkAltenbernd","id":10534907,"avatar_url":"https://avatars.githubusercontent.com/u/10534907?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkAltenbernd","html_url":"https://github.com/MarkAltenbernd","followers_url":"https://api.github.com/users/MarkAltenbernd/followers","following_url":"https://api.github.com/users/MarkAltenbernd/following{/other_user}","gists_url":"https://api.github.com/users/MarkAltenbernd/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkAltenbernd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkAltenbernd/subscriptions","organizations_url":"https://api.github.com/users/MarkAltenbernd/orgs","repos_url":"https://api.github.com/users/MarkAltenbernd/repos","events_url":"https://api.github.com/users/MarkAltenbernd/events{/privacy}","received_events_url":"https://api.github.com/users/MarkAltenbernd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodeschool/discussions/labels/stream-adventure","name":"stream-adventure","color":"F03C28"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-27T18:44:29Z","updated_at":"2015-12-02T03:33:52Z","closed_at":null,"body":"I have developed a response for the Duplexer challenge, but it will not pass the verify test. I checked my work against the reference solution, and it was essentially identical, with only a couple of differences in variable names. I then tried to verify the reference solution, and it failed in exactly the same way as my own solution: what the test expected was about twice as long as what the solutions actually provided::\r\n\r\n    operator: equal\r\n    expected:\r\n      'vuffiih\\nvsny\\nvoa\\nvuffiih\\nvoa\\nvstuhnchy\\nvivvch\\nvir\\nvcmwocn\\nvolliq'\r\n    actual:\r\n      'vuffiih\\nvsny\\nvoa\\nvuffiih\\nvoa'\r\n\r\nThis problem was consistent across a number of iterations  of the test with both the reference solution and my own. Here is the content of the reference solution:\r\n\t// Here's the reference solution:\r\n\r\n\t  var spawn = require('child_process').spawn;\r\n\t  var duplexer = require('duplexer2');\r\n\t  \r\n\t  module.exports = function (cmd, args) {\r\n\t\t  var ps = spawn(cmd, args);\r\n\t\t  return duplexer(ps.stdin, ps.stdout);\r\n\t  };\r\n\r\nHave others seen this issue? This seems to be a problem with the test apparatus - is that a reasonable conclusion? Is there a way to complete the test successfully?\r\n\r\nThanks for any help.\r\n"},"comment":{"url":"https://api.github.com/repos/nodeschool/discussions/issues/comments/161170352","html_url":"https://github.com/nodeschool/discussions/issues/1517#issuecomment-161170352","issue_url":"https://api.github.com/repos/nodeschool/discussions/issues/1517","id":161170352,"user":{"login":"deubaka","id":1931819,"avatar_url":"https://avatars.githubusercontent.com/u/1931819?v=3","gravatar_id":"","url":"https://api.github.com/users/deubaka","html_url":"https://github.com/deubaka","followers_url":"https://api.github.com/users/deubaka/followers","following_url":"https://api.github.com/users/deubaka/following{/other_user}","gists_url":"https://api.github.com/users/deubaka/gists{/gist_id}","starred_url":"https://api.github.com/users/deubaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deubaka/subscriptions","organizations_url":"https://api.github.com/users/deubaka/orgs","repos_url":"https://api.github.com/users/deubaka/repos","events_url":"https://api.github.com/users/deubaka/events{/privacy}","received_events_url":"https://api.github.com/users/deubaka/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T03:33:52Z","updated_at":"2015-12-02T03:33:52Z","body":"Got it working now with multiple options. \r\n\r\nThe first one is to downgrade `stream-adventure` to `v3.0.0`, everything works should work there. \r\n\r\nThe second be overriding `stream-combiner2` to use `v1.0.2` only as follow,\r\n- Removed module references to `stream-combiner2` latest (v1.1.1), that means removing it in your libs both global and local\r\n- Within the `stream-adventure` module directory, re-install `stream-combiner2` at `v1.0.2` via `npm install  --save stream-combiner@1.0.2`\r\n- Re-run verify and should show a solution passed now"}}