{"action":"created","issue":{"url":"https://api.github.com/repos/nikhilmodak/gulp-ngdocs/issues/21","labels_url":"https://api.github.com/repos/nikhilmodak/gulp-ngdocs/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/nikhilmodak/gulp-ngdocs/issues/21/comments","events_url":"https://api.github.com/repos/nikhilmodak/gulp-ngdocs/issues/21/events","html_url":"https://github.com/nikhilmodak/gulp-ngdocs/issues/21","id":54558274,"number":21,"title":"TypeError: Cannot read property 'loadDefaults' of undefined","user":{"login":"xduseko","id":9591957,"avatar_url":"https://avatars.githubusercontent.com/u/9591957?v=3","gravatar_id":"","url":"https://api.github.com/users/xduseko","html_url":"https://github.com/xduseko","followers_url":"https://api.github.com/users/xduseko/followers","following_url":"https://api.github.com/users/xduseko/following{/other_user}","gists_url":"https://api.github.com/users/xduseko/gists{/gist_id}","starred_url":"https://api.github.com/users/xduseko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xduseko/subscriptions","organizations_url":"https://api.github.com/users/xduseko/orgs","repos_url":"https://api.github.com/users/xduseko/repos","events_url":"https://api.github.com/users/xduseko/events{/privacy}","received_events_url":"https://api.github.com/users/xduseko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-16T10:01:03Z","updated_at":"2015-01-28T20:55:30Z","closed_at":null,"body":"`gulp.task('ngdocs', [], function () {`\r\n`\tvar gulpDocs = require('gulp-ngdocs');`\r\n`\treturn gulp.src('app/**/*.js')`\r\n`\t\t.pipe(gulpDocs.process())`\r\n`\t\t.pipe(gulp.dest('./ngdocs'));`\r\n`});`\r\n\r\n`TypeError: Cannot read property 'loadDefaults' of undefined`\r\n`    at Object.processDoc [as process] (C:\\Users\\odusek\\IdeaProjects\\iprace-front-end-angular\\node_modules\\gulp-ngdocs\\index.js:95:12)`\r\n`    at Gulp.<anonymous> (C:\\Users\\odusek\\IdeaProjects\\iprace-front-end-angular\\gulpfile.js:397:18)`\r\n`    at module.exports (C:\\Users\\odusek\\IdeaProjects\\iprace-front-end-angular\\node_modules\\gulp\\node_modules\\orchestrator\\lib\\runTask.js:34:7)`\r\n`    at Gulp.Orchestrator._runTask (C:\\Users\\odusek\\IdeaProjects\\iprace-front-end-angular\\node_modules\\gulp\\node_modules\\orchestrator\\index.js:273:3)`\r\n`    at Gulp.Orchestrator._runStep (C:\\Users\\odusek\\IdeaProjects\\iprace-front-end-angular\\node_modules\\gulp\\node_modules\\orchestrator\\index.js:214:10)`\r\n`    at Gulp.Orchestrator.start (C:\\Users\\odusek\\IdeaProjects\\iprace-front-end-angular\\node_modules\\gulp\\node_modules\\orchestrator\\index.js:134:8)`\r\n`    at C:\\Users\\odusek\\AppData\\Roaming\\npm\\node_modules\\gulp\\bin\\gulp.js:129:20`\r\n`    at process._tickCallback (node.js:442:13)`\r\n`    at Function.Module.runMain (module.js:499:11)`\r\n`    at startup (node.js:119:16)`"},"comment":{"url":"https://api.github.com/repos/nikhilmodak/gulp-ngdocs/issues/comments/71913931","html_url":"https://github.com/nikhilmodak/gulp-ngdocs/issues/21#issuecomment-71913931","issue_url":"https://api.github.com/repos/nikhilmodak/gulp-ngdocs/issues/21","id":71913931,"user":{"login":"revspringjake","id":8161220,"avatar_url":"https://avatars.githubusercontent.com/u/8161220?v=3","gravatar_id":"","url":"https://api.github.com/users/revspringjake","html_url":"https://github.com/revspringjake","followers_url":"https://api.github.com/users/revspringjake/followers","following_url":"https://api.github.com/users/revspringjake/following{/other_user}","gists_url":"https://api.github.com/users/revspringjake/gists{/gist_id}","starred_url":"https://api.github.com/users/revspringjake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revspringjake/subscriptions","organizations_url":"https://api.github.com/users/revspringjake/orgs","repos_url":"https://api.github.com/users/revspringjake/repos","events_url":"https://api.github.com/users/revspringjake/events{/privacy}","received_events_url":"https://api.github.com/users/revspringjake/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T20:55:30Z","updated_at":"2015-01-28T20:55:30Z","body":"Heres another quick patch until it's fixed...\r\nYou can just pass in a blank object.\r\n\r\n  gulp.task('makeDocs', [], function () {\r\n    var gulpDocs = require('gulp-ngdocs');\r\n    var options = {};\r\n    return gulp.src( productionScripts )\r\n    .pipe(gulpDocs.process( options ))\r\n    .pipe(gulp.dest('public/test/docs'));\r\n  });"}}