{"action":"created","issue":{"url":"https://api.github.com/repos/garris/BackstopJS/issues/225","repository_url":"https://api.github.com/repos/garris/BackstopJS","labels_url":"https://api.github.com/repos/garris/BackstopJS/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/garris/BackstopJS/issues/225/comments","events_url":"https://api.github.com/repos/garris/BackstopJS/issues/225/events","html_url":"https://github.com/garris/BackstopJS/issues/225","id":166424749,"number":225,"title":"Casper error when generating reference bitmaps","user":{"login":"brianyang","id":81162,"avatar_url":"https://avatars.githubusercontent.com/u/81162?v=3","gravatar_id":"","url":"https://api.github.com/users/brianyang","html_url":"https://github.com/brianyang","followers_url":"https://api.github.com/users/brianyang/followers","following_url":"https://api.github.com/users/brianyang/following{/other_user}","gists_url":"https://api.github.com/users/brianyang/gists{/gist_id}","starred_url":"https://api.github.com/users/brianyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianyang/subscriptions","organizations_url":"https://api.github.com/users/brianyang/orgs","repos_url":"https://api.github.com/users/brianyang/repos","events_url":"https://api.github.com/users/brianyang/events{/privacy}","received_events_url":"https://api.github.com/users/brianyang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-19T20:13:56Z","updated_at":"2016-07-20T17:58:07Z","closed_at":null,"body":"## Generating (or updating) reference bitmaps\r\n\r\nWhen I run:\r\n`$ npm run reference`\r\n\r\nI see this error: \r\n```\r\n~/P/n/n/c/b/n/backstopjs ❯❯❯ npm run reference                                                                                                                                                                                  feature/content-migration-testing/FOO-285 ✭ ✱ ◼\r\n\r\n> backstopjs@1.3.5 reference /Users/content-migration-preview/backstop/node_modules/backstopjs\r\n> gulp reference\r\n\r\n\r\nBackstopJS Config loaded at location /Users/content-migration-preview/backstop/backstop.json\r\n(node:7310) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\n[16:12:52] Using gulpfile ~/Public/content-migration-preview/backstop/node_modules/backstopjs/gulpfile.js\r\n[16:12:52] Starting 'clean'...\r\nbitmaps_reference was cleaned.\r\n[16:12:52] Starting 'bless'...\r\n[16:12:52] Finished 'bless' after 2.7 ms\r\n[16:12:52] Finished 'clean' after 9.91 ms\r\n[16:12:52] Starting 'reference'...\r\ngulp.run() has been deprecated. Use task dependencies or gulp.watch task triggering instead.\r\n[16:12:52] Starting 'init'...\r\n[16:12:52] Finished 'init' after 3.21 μs\r\n[16:12:52] Starting 'test'...\r\n\r\nGenerating reference files.\r\n\r\n\r\nRunning CasperJS with:  [ 'capture/genBitmaps.js' ]\r\n[16:12:52] Finished 'test' after 7.41 ms\r\nreference has run.\r\n[16:12:52] Finished 'reference' after 8.57 ms\r\nCasperJS: I'm `fs` modules\r\nCasperJS: TypeError: undefined is not a constructor (evaluating 'fs.read(genConfigPath)')\r\n\r\n  phantomjs://code/genBitmaps.js:9 in global code\r\n  :0 in injectJs\r\n  phantomjs://code/bootstrap.js:435\r\n\r\n```\r\n\r\nAny idea what's going wrong? I've generated the backstop.json with genConfig\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/garris/BackstopJS/issues/comments/234029301","html_url":"https://github.com/garris/BackstopJS/issues/225#issuecomment-234029301","issue_url":"https://api.github.com/repos/garris/BackstopJS/issues/225","id":234029301,"user":{"login":"patriciamarchand","id":6225238,"avatar_url":"https://avatars.githubusercontent.com/u/6225238?v=3","gravatar_id":"","url":"https://api.github.com/users/patriciamarchand","html_url":"https://github.com/patriciamarchand","followers_url":"https://api.github.com/users/patriciamarchand/followers","following_url":"https://api.github.com/users/patriciamarchand/following{/other_user}","gists_url":"https://api.github.com/users/patriciamarchand/gists{/gist_id}","starred_url":"https://api.github.com/users/patriciamarchand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriciamarchand/subscriptions","organizations_url":"https://api.github.com/users/patriciamarchand/orgs","repos_url":"https://api.github.com/users/patriciamarchand/repos","events_url":"https://api.github.com/users/patriciamarchand/events{/privacy}","received_events_url":"https://api.github.com/users/patriciamarchand/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T17:58:07Z","updated_at":"2016-07-20T17:58:07Z","body":"I have the same issue. \r\nnpm version 3.9.5\r\nnode version 6.2.2"}}
{"actor":{"display_login":"patriciamarchand"}}