{"action":"created","issue":{"url":"https://api.github.com/repos/mpartipilo/gatsby-source-cockpit/issues/5","repository_url":"https://api.github.com/repos/mpartipilo/gatsby-source-cockpit","labels_url":"https://api.github.com/repos/mpartipilo/gatsby-source-cockpit/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/mpartipilo/gatsby-source-cockpit/issues/5/comments","events_url":"https://api.github.com/repos/mpartipilo/gatsby-source-cockpit/issues/5/events","html_url":"https://github.com/mpartipilo/gatsby-source-cockpit/issues/5","id":365148239,"node_id":"MDU6SXNzdWUzNjUxNDgyMzk=","number":5,"title":"Plugin gatsby-source-cockpit returned an error","user":{"login":"renickbuettner","id":4125670,"node_id":"MDQ6VXNlcjQxMjU2NzA=","avatar_url":"https://avatars3.githubusercontent.com/u/4125670?v=4","gravatar_id":"","url":"https://api.github.com/users/renickbuettner","html_url":"https://github.com/renickbuettner","followers_url":"https://api.github.com/users/renickbuettner/followers","following_url":"https://api.github.com/users/renickbuettner/following{/other_user}","gists_url":"https://api.github.com/users/renickbuettner/gists{/gist_id}","starred_url":"https://api.github.com/users/renickbuettner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renickbuettner/subscriptions","organizations_url":"https://api.github.com/users/renickbuettner/orgs","repos_url":"https://api.github.com/users/renickbuettner/repos","events_url":"https://api.github.com/users/renickbuettner/events{/privacy}","received_events_url":"https://api.github.com/users/renickbuettner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-29T16:53:10Z","updated_at":"2018-09-29T17:48:35Z","closed_at":null,"author_association":"NONE","body":"I've some trouble setting up the source plugin with gatsby. I get this error:\r\n\r\n```bash\r\nsuccess open and validate gatsby-config — 0.013 s\r\nsuccess load plugins — 0.369 s\r\nsuccess onPreInit — 0.572 s\r\nsuccess delete html and css files from previous builds — 0.068 s\r\nsuccess initialize cache — 0.045 s\r\nsuccess copy gatsby files — 0.034 s\r\nsuccess onPreBootstrap — 0.006 s\r\ninfo Cockpit host: ########\r\ninfo Cockpit access token: ########\r\ninfo Fetching list of assets\r\nerror Plugin gatsby-source-cockpit returned an error\r\n\r\n\r\n  TypeError: Cannot read property 'length' of undefined\r\n  \r\n  - gatsby-node.js:38 Object.exports.sourceNodes\r\n    [renickbuettner2]/[gatsby-source-cockpit]/gatsby-node.js:38:65\r\n  \r\n\r\nerror Cannot read property 'filter' of undefined\r\n\r\n\r\n  TypeError: Cannot read property 'filter' of undefined\r\n  \r\n  - api-runner-node.js:274 Promise.mapSeries.catch.then.results\r\n    [renickbuettner2]/[gatsby]/dist/utils/api-runner-node.js:274:42\r\n  \r\n  - util.js:16 tryCatcher\r\n    [renickbuettner2]/[bluebird]/js/release/util.js:16:23\r\n  \r\n  - promise.js:512 Promise._settlePromiseFromHandler\r\n    [renickbuettner2]/[bluebird]/js/release/promise.js:512:31\r\n  \r\n  - promise.js:569 Promise._settlePromise\r\n    [renickbuettner2]/[bluebird]/js/release/promise.js:569:18\r\n  \r\n  - promise.js:614 Promise._settlePromise0\r\n    [renickbuettner2]/[bluebird]/js/release/promise.js:614:10\r\n  \r\n  - promise.js:693 Promise._settlePromises\r\n    [renickbuettner2]/[bluebird]/js/release/promise.js:693:18\r\n  \r\n  - async.js:133 Async._drainQueue\r\n    [renickbuettner2]/[bluebird]/js/release/async.js:133:16\r\n  \r\n  - async.js:143 Async._drainQueues\r\n    [renickbuettner2]/[bluebird]/js/release/async.js:143:10\r\n  \r\n  - async.js:17 Immediate.Async.drainQueues [as _onImmediate]\r\n    [renickbuettner2]/[bluebird]/js/release/async.js:17:14\r\n  \r\n\r\nerror UNHANDLED REJECTION\r\n\r\n\r\n  TypeError: Cannot read property 'filter' of undefined\r\n  \r\n  - api-runner-node.js:274 Promise.mapSeries.catch.then.results\r\n    [renickbuettner2]/[gatsby]/dist/utils/api-runner-node.js:274:42\r\n  \r\n  - util.js:16 tryCatcher\r\n    [renickbuettner2]/[bluebird]/js/release/util.js:16:23\r\n  \r\n  - promise.js:512 Promise._settlePromiseFromHandler\r\n    [renickbuettner2]/[bluebird]/js/release/promise.js:512:31\r\n  \r\n  - promise.js:569 Promise._settlePromise\r\n    [renickbuettner2]/[bluebird]/js/release/promise.js:569:18\r\n  \r\n  - promise.js:614 Promise._settlePromise0\r\n    [renickbuettner2]/[bluebird]/js/release/promise.js:614:10\r\n  \r\n  - promise.js:693 Promise._settlePromises\r\n    [renickbuettner2]/[bluebird]/js/release/promise.js:693:18\r\n  \r\n  - async.js:133 Async._drainQueue\r\n    [renickbuettner2]/[bluebird]/js/release/async.js:133:16\r\n  \r\n  - async.js:143 Async._drainQueues\r\n    [renickbuettner2]/[bluebird]/js/release/async.js:143:10\r\n  \r\n  - async.js:17 Immediate.Async.drainQueues [as _onImmediate]\r\n    [renickbuettner2]/[bluebird]/js/release/async.js:17:14\r\n  \r\n```"},"comment":{"url":"https://api.github.com/repos/mpartipilo/gatsby-source-cockpit/issues/comments/425663389","html_url":"https://github.com/mpartipilo/gatsby-source-cockpit/issues/5#issuecomment-425663389","issue_url":"https://api.github.com/repos/mpartipilo/gatsby-source-cockpit/issues/5","id":425663389,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTY2MzM4OQ==","user":{"login":"renickbuettner","id":4125670,"node_id":"MDQ6VXNlcjQxMjU2NzA=","avatar_url":"https://avatars3.githubusercontent.com/u/4125670?v=4","gravatar_id":"","url":"https://api.github.com/users/renickbuettner","html_url":"https://github.com/renickbuettner","followers_url":"https://api.github.com/users/renickbuettner/followers","following_url":"https://api.github.com/users/renickbuettner/following{/other_user}","gists_url":"https://api.github.com/users/renickbuettner/gists{/gist_id}","starred_url":"https://api.github.com/users/renickbuettner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renickbuettner/subscriptions","organizations_url":"https://api.github.com/users/renickbuettner/orgs","repos_url":"https://api.github.com/users/renickbuettner/repos","events_url":"https://api.github.com/users/renickbuettner/events{/privacy}","received_events_url":"https://api.github.com/users/renickbuettner/received_events","type":"User","site_admin":false},"created_at":"2018-09-29T17:48:35Z","updated_at":"2018-09-29T17:48:35Z","author_association":"NONE","body":"I guess there is something wrong with the cockpit-api-client (a dependency)"}}
{"actor":{"display_login":"renickbuettner"}}