{"action":"closed","issue":{"url":"https://api.github.com/repos/koola/pix-diff/issues/14","repository_url":"https://api.github.com/repos/koola/pix-diff","labels_url":"https://api.github.com/repos/koola/pix-diff/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/koola/pix-diff/issues/14/comments","events_url":"https://api.github.com/repos/koola/pix-diff/issues/14/events","html_url":"https://github.com/koola/pix-diff/issues/14","id":150840835,"number":14,"title":"PixDiff not resolving path to framework during initialisation","user":{"login":"akkinitsch","id":3246229,"avatar_url":"https://avatars.githubusercontent.com/u/3246229?v=3","gravatar_id":"","url":"https://api.github.com/users/akkinitsch","html_url":"https://github.com/akkinitsch","followers_url":"https://api.github.com/users/akkinitsch/followers","following_url":"https://api.github.com/users/akkinitsch/following{/other_user}","gists_url":"https://api.github.com/users/akkinitsch/gists{/gist_id}","starred_url":"https://api.github.com/users/akkinitsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akkinitsch/subscriptions","organizations_url":"https://api.github.com/users/akkinitsch/orgs","repos_url":"https://api.github.com/users/akkinitsch/repos","events_url":"https://api.github.com/users/akkinitsch/events{/privacy}","received_events_url":"https://api.github.com/users/akkinitsch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/koola/pix-diff/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"koola","id":4948196,"avatar_url":"https://avatars.githubusercontent.com/u/4948196?v=3","gravatar_id":"","url":"https://api.github.com/users/koola","html_url":"https://github.com/koola","followers_url":"https://api.github.com/users/koola/followers","following_url":"https://api.github.com/users/koola/following{/other_user}","gists_url":"https://api.github.com/users/koola/gists{/gist_id}","starred_url":"https://api.github.com/users/koola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koola/subscriptions","organizations_url":"https://api.github.com/users/koola/orgs","repos_url":"https://api.github.com/users/koola/repos","events_url":"https://api.github.com/users/koola/events{/privacy}","received_events_url":"https://api.github.com/users/koola/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/koola/pix-diff/milestones/2","html_url":"https://github.com/koola/pix-diff/milestones/1.0.10","labels_url":"https://api.github.com/repos/koola/pix-diff/milestones/2/labels","id":1733088,"number":2,"title":"1.0.10","description":"","creator":{"login":"koola","id":4948196,"avatar_url":"https://avatars.githubusercontent.com/u/4948196?v=3","gravatar_id":"","url":"https://api.github.com/users/koola","html_url":"https://github.com/koola","followers_url":"https://api.github.com/users/koola/followers","following_url":"https://api.github.com/users/koola/following{/other_user}","gists_url":"https://api.github.com/users/koola/gists{/gist_id}","starred_url":"https://api.github.com/users/koola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koola/subscriptions","organizations_url":"https://api.github.com/users/koola/orgs","repos_url":"https://api.github.com/users/koola/repos","events_url":"https://api.github.com/users/koola/events{/privacy}","received_events_url":"https://api.github.com/users/koola/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-04-27T01:05:53Z","updated_at":"2016-05-17T04:56:14Z","due_on":"2016-05-05T16:00:00Z","closed_at":null},"comments":8,"created_at":"2016-04-25T12:23:02Z","updated_at":"2016-05-17T04:56:14Z","closed_at":"2016-05-17T04:56:14Z","body":"Hi everyone,\r\n\r\nI would like to give pix-diff a shot and got the following behaviour:\r\n\r\nPart of my protractor.config.js:\r\n\r\n`onPrepare: function () {  //configure junit xml report\r\n\r\n        var pixDiff = require('pix-diff');\r\n        browser.pixdiff = new pixDiff(\r\n            {\r\n                basePath: 'screenshots/test/',\r\n                width: 1280,\r\n                height: 1024\r\n            }\r\n        );`\r\n\r\nI got the following output:\r\n\r\n`Error: Cannot find module 'D:\\SWE\\Nitsch\\Entwicklung\\Hauptprojekt\\Entwicklungszweig\\Client\\EnMS.Angular\\EnMS\\Frontendtests\\framework\\jasmine'\r\n    at Function.Module._resolveFilename (module.js:339:15)\r\n    at Function.Module._load (module.js:290:25)\r\n    at Module.require (module.js:367:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (D:\\SWE\\Nitsch\\Entwicklung\\Hauptprojekt\\Entwicklungszweig\\Client\\EnMS.Angular\\EnMS\\Frontendtests\\node_modules\\pix-diff\\index.js:50:13)\r\n    at Promise.invokeCallback_ (C:\\Program Files\\nodejs\\node_modules\\protractor\\node_modules\\selenium-webdriver\\lib\\promise.js:1329:14)\r\n    at TaskQueue.execute_ (C:\\Program Files\\nodejs\\node_modules\\protractor\\node_modules\\selenium-webdriver\\lib\\promise.js:2790:14)\r\n    at TaskQueue.executeNext_ (C:\\Program Files\\nodejs\\node_modules\\protractor\\node_modules\\selenium-webdriver\\lib\\promise.js:2773:21)\r\n    at C:\\Program Files\\nodejs\\node_modules\\protractor\\node_modules\\selenium-webdriver\\lib\\promise.js:2652:27\r\n    at C:\\Program Files\\nodejs\\node_modules\\protractor\\node_modules\\selenium-webdriver\\lib\\promise.js:639:7\r\n[launcher] Process exited with error code 1\r\n`\r\n\r\nIt seems that pix-diff cannot resolve the path to the testing framework.\r\n\r\nAny suggestions how to handle that problem?\r\n\r\nThank you very much in advance\r\n\r\nAkki\r\n\r\n"}}