{"action":"created","issue":{"url":"https://api.github.com/repos/jsdevel/webdriver-sync/issues/91","labels_url":"https://api.github.com/repos/jsdevel/webdriver-sync/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/jsdevel/webdriver-sync/issues/91/comments","events_url":"https://api.github.com/repos/jsdevel/webdriver-sync/issues/91/events","html_url":"https://github.com/jsdevel/webdriver-sync/issues/91","id":57614033,"number":91,"title":"Error: Cannot find module './binary-paths.json'","user":{"login":"totty90","id":236974,"avatar_url":"https://avatars.githubusercontent.com/u/236974?v=3","gravatar_id":"","url":"https://api.github.com/users/totty90","html_url":"https://github.com/totty90","followers_url":"https://api.github.com/users/totty90/followers","following_url":"https://api.github.com/users/totty90/following{/other_user}","gists_url":"https://api.github.com/users/totty90/gists{/gist_id}","starred_url":"https://api.github.com/users/totty90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totty90/subscriptions","organizations_url":"https://api.github.com/users/totty90/orgs","repos_url":"https://api.github.com/users/totty90/repos","events_url":"https://api.github.com/users/totty90/events{/privacy}","received_events_url":"https://api.github.com/users/totty90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-13T15:45:22Z","updated_at":"2015-02-13T18:51:11Z","closed_at":null,"body":"Just installed on a clean windows 7 and run this file:\r\n\r\n    var wd = require('webdriver-sync');\r\n    var ChromeDriverService = wd.ChromeDriverService;\r\n    var ChromeDriver = wd.ChromeDriver;\r\n    var service = new ChromeDriverService.Builder()\r\n        .usingAnyFreePort()\r\n        .usingDriverExecutable(new File(findsChromeDriver.find()))\r\n        .build();\r\n\r\n    var driver = new ChromeDriver(service);\r\n    driver.get('http://google.com');\r\n\r\nAnd got this error:\r\n\r\n    module.js:340\r\n        throw err;\r\n              ^\r\n    Error: Cannot find module './binary-paths.json'\r\n        at Function.Module._resolveFilename (module.js:338:15)\r\n        at Function.Module._load (module.js:280:25)\r\n        at Module.require (module.js:364:17)\r\n        at require (module.js:380:17)\r\n        at Object.<anonymous> (C:\\app\\node_modules\\webdriver-sync\\node_modules\\selenium-binaries\\index.js:4:18)\r\n        at Module._compile (module.js:456:26)\r\n        at Object.Module._extensions..js (module.js:474:10)\r\n        at Module.load (module.js:356:32)\r\n        at Function.Module._load (module.js:312:12)\r\n        at Module.require (module.js:364:17)\r\n\r\nWhat is wrong? The chromedriver is added to the PATH, but I think is not needed in this lib.\r\n\r\n    C:\\Users\\s>java -version\r\n    java version \"1.7.0_45\"\r\n    Java(TM) SE Runtime Environment (build 1.7.0_45-b18)\r\n    Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode, sharing)\r\n\r\nAlready installed twice.\r\n\r\n\r\n>Ensure that your environment is setup to compile node add ons. A good module to use in verifying that you can compile node addons is microtime.\r\n\r\nI don't understand what microtime has to do with making node to compile node add ons."},"comment":{"url":"https://api.github.com/repos/jsdevel/webdriver-sync/issues/comments/74305369","html_url":"https://github.com/jsdevel/webdriver-sync/issues/91#issuecomment-74305369","issue_url":"https://api.github.com/repos/jsdevel/webdriver-sync/issues/91","id":74305369,"user":{"login":"jsdevel","id":2605980,"avatar_url":"https://avatars.githubusercontent.com/u/2605980?v=3","gravatar_id":"","url":"https://api.github.com/users/jsdevel","html_url":"https://github.com/jsdevel","followers_url":"https://api.github.com/users/jsdevel/followers","following_url":"https://api.github.com/users/jsdevel/following{/other_user}","gists_url":"https://api.github.com/users/jsdevel/gists{/gist_id}","starred_url":"https://api.github.com/users/jsdevel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsdevel/subscriptions","organizations_url":"https://api.github.com/users/jsdevel/orgs","repos_url":"https://api.github.com/users/jsdevel/repos","events_url":"https://api.github.com/users/jsdevel/events{/privacy}","received_events_url":"https://api.github.com/users/jsdevel/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T18:51:11Z","updated_at":"2015-02-13T18:51:11Z","body":"hmm.  That's strange.  Can you install `selenium-binaries` to troubleshoot?  It works on my machine (linux)."}}