{"action":"opened","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/2449","labels_url":"https://api.github.com/repos/nodejs/node/issues/2449/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/2449/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/2449/events","html_url":"https://github.com/nodejs/node/issues/2449","id":102013352,"number":2449,"title":"Attempting to convert old non-existing history file fails","user":{"login":"toddself","id":193412,"avatar_url":"https://avatars.githubusercontent.com/u/193412?v=3","gravatar_id":"","url":"https://api.github.com/users/toddself","html_url":"https://github.com/toddself","followers_url":"https://api.github.com/users/toddself/followers","following_url":"https://api.github.com/users/toddself/following{/other_user}","gists_url":"https://api.github.com/users/toddself/gists{/gist_id}","starred_url":"https://api.github.com/users/toddself/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddself/subscriptions","organizations_url":"https://api.github.com/users/toddself/orgs","repos_url":"https://api.github.com/users/toddself/repos","events_url":"https://api.github.com/users/toddself/events{/privacy}","received_events_url":"https://api.github.com/users/toddself/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-19T22:28:47Z","updated_at":"2015-08-19T22:28:47Z","closed_at":null,"body":"Just upgraded to 3.0.0 from 0.10.28 on linux.\r\n\r\ntrying to launch the repl results in:\r\n```\r\ntodd@scripto-local 18:14:50 /home/.../src/deploybot:couch\r\n↳ node\r\n>\r\nConverting old JSON repl history to line-separated history.\r\nThe new repl history file can be found at /home/todd/.node_repl_history.\r\n> node.js:129\r\n              throw err;\r\n              ^\r\n\r\nError: Could not parse history data in /home/todd/.node-history.\r\n    at onread (internal/repl.js:126:13)\r\n    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)\r\ntodd@scripto-local 18:16:22 /home/.../src/deploybot:couch\r\n↳ node --version\r\nv3.0.0\r\n```\r\n\r\nThis seems to be due to the fact that i have `NODE_REPL_HISTORY_FILE` set, but there is no actual file present:\r\n```\r\ntodd@scripto-local 18:16:24 /home/.../src/deploybot:couch\r\n↳ echo $NODE_REPL_HISTORY_FILE\r\n/home/todd/.node-history\r\ntodd@scripto-local 18:16:48 /home/.../src/deploybot:couch\r\n↳ cat $NODE_REPL_HISTORY_FILE\r\ncat: /home/todd/.node-history: No such file or directory\r\n```"}}