{"action":"closed","issue":{"url":"https://api.github.com/repos/vvo/selenium-standalone/issues/74","labels_url":"https://api.github.com/repos/vvo/selenium-standalone/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/vvo/selenium-standalone/issues/74/comments","events_url":"https://api.github.com/repos/vvo/selenium-standalone/issues/74/events","html_url":"https://github.com/vvo/selenium-standalone/issues/74","id":59422578,"number":74,"title":"error when installing version 2.45","user":{"login":"tnguyen14","id":1652595,"avatar_url":"https://avatars.githubusercontent.com/u/1652595?v=3","gravatar_id":"","url":"https://api.github.com/users/tnguyen14","html_url":"https://github.com/tnguyen14","followers_url":"https://api.github.com/users/tnguyen14/followers","following_url":"https://api.github.com/users/tnguyen14/following{/other_user}","gists_url":"https://api.github.com/users/tnguyen14/gists{/gist_id}","starred_url":"https://api.github.com/users/tnguyen14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnguyen14/subscriptions","organizations_url":"https://api.github.com/users/tnguyen14/orgs","repos_url":"https://api.github.com/users/tnguyen14/repos","events_url":"https://api.github.com/users/tnguyen14/events{/privacy}","received_events_url":"https://api.github.com/users/tnguyen14/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-01T23:06:39Z","updated_at":"2015-03-01T23:16:37Z","closed_at":"2015-03-01T23:16:37Z","body":"I tried to install version 2.45 (to fix this issue https://code.google.com/p/selenium/issues/detail?id=8088), and got the following error:\r\n\r\n```\r\n❯ selenium-standalone install --version 2.45\r\n----------\r\nselenium-standalone installation starting\r\n----------\r\n\r\n\r\n/usr/local/lib/node_modules/selenium-standalone/lib/compute-download-urls.js:14\r\neleniumVersion = opts.seleniumVersion.slice(0, opts.seleniumVersion.lastIndexO\r\n                                                                    ^\r\nTypeError: Object 2.45 has no method 'lastIndexOf'\r\n    at computeDownloadUrls (/usr/local/lib/node_modules/selenium-standalone/lib/compute-download-urls.js:14:81)\r\n    at Object.install (/usr/local/lib/node_modules/selenium-standalone/lib/install.js:50:14)\r\n    at Object.actions.install (/usr/local/lib/node_modules/selenium-standalone/bin/selenium-standalone:79:14)\r\n    at javaFound (/usr/local/lib/node_modules/selenium-standalone/bin/selenium-standalone:42:18)\r\n    at /usr/local/lib/node_modules/selenium-standalone/node_modules/whereis/index.js:28:14\r\n    at ChildProcess.exithandler (child_process.js:645:7)\r\n    at ChildProcess.EventEmitter.emit (events.js:98:17)\r\n    at maybeClose (child_process.js:753:16)\r\n    at Socket.<anonymous> (child_process.js:966:11)\r\n    at Socket.EventEmitter.emit (events.js:95:17)\r\n```"}}