{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/4018","labels_url":"https://api.github.com/repos/eslint/eslint/issues/4018/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/4018/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/4018/events","html_url":"https://github.com/eslint/eslint/issues/4018","id":109520755,"number":4018,"title":"TypeError: Cannot read property 'substring' of undefined","user":{"login":"TheEradicated","id":14943298,"avatar_url":"https://avatars.githubusercontent.com/u/14943298?v=3","gravatar_id":"","url":"https://api.github.com/users/TheEradicated","html_url":"https://github.com/TheEradicated","followers_url":"https://api.github.com/users/TheEradicated/followers","following_url":"https://api.github.com/users/TheEradicated/following{/other_user}","gists_url":"https://api.github.com/users/TheEradicated/gists{/gist_id}","starred_url":"https://api.github.com/users/TheEradicated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheEradicated/subscriptions","organizations_url":"https://api.github.com/users/TheEradicated/orgs","repos_url":"https://api.github.com/users/TheEradicated/repos","events_url":"https://api.github.com/users/TheEradicated/events{/privacy}","received_events_url":"https://api.github.com/users/TheEradicated/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/question","name":"question","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-02T16:00:44Z","updated_at":"2015-10-05T01:10:00Z","closed_at":null,"body":"Freshly installed Eslint v1.5.1. When I run \"eslint --init\" for the first time, I get this.\r\n```\r\nC:\\Users\\John Ryan Camatog\\AppData\\Roaming\\npm\\node_modules\\eslint\\node_modules\\inquirer\\node_modules\\rx-lite\\rx.lite.js:549\r\n    throw e;\r\n    ^\r\n\r\nTypeError: Cannot read property 'substring' of undefined\r\n    at Interface.rl._getCursorPos (C:\\Users\\John Ryan Camatog\\AppData\\Roaming\\npm\\node_modules\\eslint\\node_modules\\inquirer\\node_modules\\readline2\\index.js:55:51)\r\n    at ScreenManager.render (C:\\Users\\John Ryan Camatog\\AppData\\Roaming\\npm\\node_modules\\eslint\\node_modules\\inquirer\\lib\\utils\\screen-manager.js:19:27)\r\n    at Prompt.render (C:\\Users\\John Ryan Camatog\\AppData\\Roaming\\npm\\node_modules\\eslint\\node_modules\\inquirer\\lib\\prompts\\list.js:102:15)\r\n    at Prompt._run (C:\\Users\\John Ryan Camatog\\AppData\\Roaming\\npm\\node_modules\\eslint\\node_modules\\inquirer\\lib\\prompts\\list.js:73:8)\r\n    at Prompt.run (C:\\Users\\John Ryan Camatog\\AppData\\Roaming\\npm\\node_modules\\eslint\\node_modules\\inquirer\\lib\\prompts\\base.js:57:8)\r\n    at Object.<anonymous> (C:\\Users\\John Ryan Camatog\\AppData\\Roaming\\npm\\node_modules\\eslint\\node_modules\\inquirer\\lib\\ui\\prompt.js:83:12)\r\n    at module.exports (C:\\Users\\John Ryan Camatog\\AppData\\Roaming\\npm\\node_modules\\eslint\\node_modules\\inquirer\\node_modules\\run-async\\index.js:15:21)\r\n    at C:\\Users\\John Ryan Camatog\\AppData\\Roaming\\npm\\node_modules\\eslint\\node_modules\\inquirer\\lib\\utils\\utils.js:16:7\r\n    at tryCatcher (C:\\Users\\John Ryan Camatog\\AppData\\Roaming\\npm\\node_modules\\eslint\\node_modules\\inquirer\\node_modules\\rx-lite\\rx.lite.js:537:29)\r\n    at setDisposable (C:\\Users\\John Ryan Camatog\\AppData\\Roaming\\npm\\node_modules\\eslint\\node_modules\\inquirer\\node_modules\\rx-lite\\rx.lite.js:5380:36)\r\n```\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27118650-typeerror-cannot-read-property-substring-of-undefined?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/145407149","html_url":"https://github.com/eslint/eslint/issues/4018#issuecomment-145407149","issue_url":"https://api.github.com/repos/eslint/eslint/issues/4018","id":145407149,"user":{"login":"ilyavolodin","id":1380062,"avatar_url":"https://avatars.githubusercontent.com/u/1380062?v=3","gravatar_id":"","url":"https://api.github.com/users/ilyavolodin","html_url":"https://github.com/ilyavolodin","followers_url":"https://api.github.com/users/ilyavolodin/followers","following_url":"https://api.github.com/users/ilyavolodin/following{/other_user}","gists_url":"https://api.github.com/users/ilyavolodin/gists{/gist_id}","starred_url":"https://api.github.com/users/ilyavolodin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilyavolodin/subscriptions","organizations_url":"https://api.github.com/users/ilyavolodin/orgs","repos_url":"https://api.github.com/users/ilyavolodin/repos","events_url":"https://api.github.com/users/ilyavolodin/events{/privacy}","received_events_url":"https://api.github.com/users/ilyavolodin/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T01:10:00Z","updated_at":"2015-10-05T01:10:00Z","body":"@TheEradicated I can't reproduce this locally on Windows 8 Professional or Windows 10 Professional. What version of Node are you using? Also, could you try blowing away node_modules directory under your eslint installation and running `npm install` again?"}}