{"action":"closed","issue":{"url":"https://api.github.com/repos/nodeschool/discussions/issues/823","labels_url":"https://api.github.com/repos/nodeschool/discussions/issues/823/labels{/name}","comments_url":"https://api.github.com/repos/nodeschool/discussions/issues/823/comments","events_url":"https://api.github.com/repos/nodeschool/discussions/issues/823/events","html_url":"https://github.com/nodeschool/discussions/issues/823","id":53986497,"number":823,"title":"learnyounode - httpfileserver  :  No output ","user":{"login":"roelof1967","id":7189323,"avatar_url":"https://avatars.githubusercontent.com/u/7189323?v=3","gravatar_id":"","url":"https://api.github.com/users/roelof1967","html_url":"https://github.com/roelof1967","followers_url":"https://api.github.com/users/roelof1967/followers","following_url":"https://api.github.com/users/roelof1967/following{/other_user}","gists_url":"https://api.github.com/users/roelof1967/gists{/gist_id}","starred_url":"https://api.github.com/users/roelof1967/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roelof1967/subscriptions","organizations_url":"https://api.github.com/users/roelof1967/orgs","repos_url":"https://api.github.com/users/roelof1967/repos","events_url":"https://api.github.com/users/roelof1967/events{/privacy}","received_events_url":"https://api.github.com/users/roelof1967/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodeschool/discussions/labels/learnyounode","name":"learnyounode","color":"F0A028"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-11T09:15:36Z","updated_at":"2015-01-11T16:33:52Z","closed_at":"2015-01-11T16:33:52Z","body":"I have this solution : \r\n\r\n~~~\r\n\r\nvar http = require ('http');\r\nvar fs = require('fs')\r\n\r\nvar server = http.createServer (function callback(request, respons) {\r\n  fs.createReadStream (process.argv[3], function callback(error, data) {\r\n    if (err) {\r\n      return console.error('Er is een fout opgetreden')\r\n      }\r\n    data.pipe(respons)\r\n   })\r\n});\r\n                   \r\nserver.listen(process.argv[2])\r\n\r\n~~~\r\n\r\nbut when I do learnyounode run  I see a cursor and nothing else."}}