{"action":"opened","issue":{"url":"https://api.github.com/repos/UG-InternetApps/Tareas/issues/5","repository_url":"https://api.github.com/repos/UG-InternetApps/Tareas","labels_url":"https://api.github.com/repos/UG-InternetApps/Tareas/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/UG-InternetApps/Tareas/issues/5/comments","events_url":"https://api.github.com/repos/UG-InternetApps/Tareas/issues/5/events","html_url":"https://github.com/UG-InternetApps/Tareas/issues/5","id":182412866,"number":5,"title":"Error en comando node 03.first-io.js","user":{"login":"JohnJasso","id":11221320,"avatar_url":"https://avatars.githubusercontent.com/u/11221320?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnJasso","html_url":"https://github.com/JohnJasso","followers_url":"https://api.github.com/users/JohnJasso/followers","following_url":"https://api.github.com/users/JohnJasso/following{/other_user}","gists_url":"https://api.github.com/users/JohnJasso/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnJasso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnJasso/subscriptions","organizations_url":"https://api.github.com/users/JohnJasso/orgs","repos_url":"https://api.github.com/users/JohnJasso/repos","events_url":"https://api.github.com/users/JohnJasso/events{/privacy}","received_events_url":"https://api.github.com/users/JohnJasso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-12T01:24:13Z","updated_at":"2016-10-12T01:24:13Z","closed_at":null,"body":"Buenas noches,\r\n\r\n¿A alguien le ha pasado? \r\n\r\nCompleté mi script reemplazando el archivo de prueba test.txt por _process.argv[2]_, y quise probarlo usando el comando `node 03.first-io.js` pero me arrojaba un error:\r\n\r\n```\r\nfs.js:549\r\n  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);\r\n                 ^\r\n\r\nTypeError: path must be a string\r\n    at TypeError (native)\r\n    at Object.fs.openSync (fs.js:549:18)\r\n    at Object.fs.readFileSync (fs.js:397:15)\r\n    at Object.<anonymous> (/Users/GryffinclawJohn/Documents/FIMEE/13 - 8vo Semestre/Aplicaciones de Internet/Development/NodeSchool/learnyounode/03.first-io.js:3:14)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Function.Module.runMain (module.js:441:10)\r\n    at startup (node.js:139:18)\r\n```\r\n\r\nSin embargo al correr `learnyounode verify 03.first-io.js`el resultado fue el correcto. Estuve un rato probando a ver cuál era el error hasta que se me ocurrió probar la verificación."}}
{"actor":{"display_login":"JohnJasso"}}