{"action":"opened","issue":{"url":"https://api.github.com/repos/edendramis/eslint-html-reporter/issues/4","labels_url":"https://api.github.com/repos/edendramis/eslint-html-reporter/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/edendramis/eslint-html-reporter/issues/4/comments","events_url":"https://api.github.com/repos/edendramis/eslint-html-reporter/issues/4/events","html_url":"https://github.com/edendramis/eslint-html-reporter/issues/4","id":128529747,"number":4,"title":"ReferenceError: reporter is not defined","user":{"login":"Smurf-IV","id":2418812,"avatar_url":"https://avatars.githubusercontent.com/u/2418812?v=3","gravatar_id":"","url":"https://api.github.com/users/Smurf-IV","html_url":"https://github.com/Smurf-IV","followers_url":"https://api.github.com/users/Smurf-IV/followers","following_url":"https://api.github.com/users/Smurf-IV/following{/other_user}","gists_url":"https://api.github.com/users/Smurf-IV/gists{/gist_id}","starred_url":"https://api.github.com/users/Smurf-IV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smurf-IV/subscriptions","organizations_url":"https://api.github.com/users/Smurf-IV/orgs","repos_url":"https://api.github.com/users/Smurf-IV/repos","events_url":"https://api.github.com/users/Smurf-IV/events{/privacy}","received_events_url":"https://api.github.com/users/Smurf-IV/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-25T12:46:33Z","updated_at":"2016-01-25T12:46:33Z","closed_at":null,"body":"```\r\n[11:33:57] ReferenceError: reporter is not defined\r\n    at Gulp.<anonymous> (z:\\NodeDev\\NGen0.2\\TestAndPackage\\Gulpfile.js:67:23)\r\n    at module.exports (z:\\NodeDev\\NGen0.2\\TestAndPackage\\node_modules\\orchestrator\\lib\\runTask.js:34:7)\r\n    at Gulp.Orchestrator._runTask (z:\\NodeDev\\NGen0.2\\TestAndPackage\\node_modules\\orchestrator\\index.js:273:3)\r\n    at Gulp.Orchestrator._runStep (z:\\NodeDev\\NGen0.2\\TestAndPackage\\node_modules\\orchestrator\\index.js:214:10)\r\n    at z:\\NodeDev\\NGen0.2\\TestAndPackage\\node_modules\\orchestrator\\index.js:279:18\r\n    at finish (z:\\NodeDev\\NGen0.2\\TestAndPackage\\node_modules\\orchestrator\\lib\\runTask.js:21:8)\r\n    at z:\\NodeDev\\NGen0.2\\TestAndPackage\\node_modules\\orchestrator\\lib\\runTask.js:43:4\r\n    at process._tickDomainCallback (node.js:411:9)\r\n```\r\n\r\nfrom the following:\r\n```\r\nvar report = require('eslint-html-reporter-ext');\r\n\r\ngulp.task('lint', function () {\r\n\tvar target = path.resolve(__dirname, '.lint');\r\n\tvar stream = gulp.src(['./../Server/source/**/*.js'])\r\n\t\t.pipe(eslint({\r\n\t\t\tuseEslintrc: true,\r\n\t\t\tconfigFile: \"./.eslintrc\"\r\n\t\t}))\r\n\t\t//.pipe(eslint.format(\"html\", function (results) {\r\n\t\t.pipe(eslint.format(reporter, function (results) {\r\n\t\t\tfs.writeFileSync(target + '/lint-results.html', results);\r\n\t\t}));\r\n```\r\nNotes:\r\n- Works okay if the default html reporter is used. (Commented out above)\r\n- This report has been installed locally and also globally after it did not work the first time\r\n- ext version also does not work.\r\n"}}