{"action":"created","issue":{"url":"https://api.github.com/repos/datocms/gatsby-source-datocms/issues/35","repository_url":"https://api.github.com/repos/datocms/gatsby-source-datocms","labels_url":"https://api.github.com/repos/datocms/gatsby-source-datocms/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/datocms/gatsby-source-datocms/issues/35/comments","events_url":"https://api.github.com/repos/datocms/gatsby-source-datocms/issues/35/events","html_url":"https://github.com/datocms/gatsby-source-datocms/issues/35","id":373529620,"node_id":"MDU6SXNzdWUzNzM1Mjk2MjA=","number":35,"title":"Changing DatoCMS schema results in errors on gatsby develop","user":{"login":"emik","id":2894097,"node_id":"MDQ6VXNlcjI4OTQwOTc=","avatar_url":"https://avatars3.githubusercontent.com/u/2894097?v=4","gravatar_id":"","url":"https://api.github.com/users/emik","html_url":"https://github.com/emik","followers_url":"https://api.github.com/users/emik/followers","following_url":"https://api.github.com/users/emik/following{/other_user}","gists_url":"https://api.github.com/users/emik/gists{/gist_id}","starred_url":"https://api.github.com/users/emik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emik/subscriptions","organizations_url":"https://api.github.com/users/emik/orgs","repos_url":"https://api.github.com/users/emik/repos","events_url":"https://api.github.com/users/emik/events{/privacy}","received_events_url":"https://api.github.com/users/emik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-24T15:01:31Z","updated_at":"2018-11-28T11:39:45Z","closed_at":null,"author_association":"NONE","body":"This can be fixed by changing the apiUrl to anything else, running `gatsby develop` then changing it back.\r\n\r\nMany iterations of the error: `Calling \"touchNode\" with a nodeId is deprecated. Please pass an object containing a nodeId instead: touchNode({ nodeId: 'a-node-id' })` and\r\n\r\n```\r\n\"touchNode\" was called by gatsby-source-datocms\r\nCalling \"deleteNode\" with a nodeId is deprecated. Please pass an object containing a full node instead: deleteNode({ node })\r\nerror UNHANDLED REJECTION\r\n\r\n\r\n  TypeError: Cannot read property 'children' of undefined\r\n\r\n  - actions.js:48 children.concat.children.map.child\r\n    [theia]/[gatsby]/dist/redux/actions.js:48:39\r\n\r\n  - Array.map\r\n\r\n  - actions.js:47 findChildrenRecursively\r\n    [theia]/[gatsby]/dist/redux/actions.js:47:42\r\n\r\n  - actions.js:308 actions.deleteNode.args\r\n    [theia]/[gatsby]/dist/redux/actions.js:308:29\r\n\r\n  - bindActionCreators.js:7\r\n    [theia]/[redux]/lib/bindActionCreators.js:7:35\r\n\r\n  - api-runner-node.js:45 doubleBoundActionCreators.(anonymous function).args\r\n    [theia]/[gatsby]/dist/utils/api-runner-node.js:45:13\r\n\r\n  - gatsby-node.js:85\r\n    [theia]/[gatsby-source-datocms]/gatsby-node.js:85:31\r\n\r\n  - Array.forEach\r\n\r\n  - gatsby-node.js:81 _callee$\r\n    [theia]/[gatsby-source-datocms]/gatsby-node.js:81:38\r\n\r\n  - gatsby-node.js:3 step\r\n    [theia]/[gatsby-source-datocms]/gatsby-node.js:3:191\r\n\r\n  - gatsby-node.js:3\r\n    [theia]/[gatsby-source-datocms]/gatsby-node.js:3:361\r\n\r\n  - next_tick.js:131 _combinedTickCallback\r\n    internal/process/next_tick.js:131:7\r\n\r\n  - next_tick.js:180 process._tickCallback\r\n    internal/process/next_tick.js:180:9```"},"comment":{"url":"https://api.github.com/repos/datocms/gatsby-source-datocms/issues/comments/442417550","html_url":"https://github.com/datocms/gatsby-source-datocms/issues/35#issuecomment-442417550","issue_url":"https://api.github.com/repos/datocms/gatsby-source-datocms/issues/35","id":442417550,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjQxNzU1MA==","user":{"login":"k4roshi","id":443208,"node_id":"MDQ6VXNlcjQ0MzIwOA==","avatar_url":"https://avatars2.githubusercontent.com/u/443208?v=4","gravatar_id":"","url":"https://api.github.com/users/k4roshi","html_url":"https://github.com/k4roshi","followers_url":"https://api.github.com/users/k4roshi/followers","following_url":"https://api.github.com/users/k4roshi/following{/other_user}","gists_url":"https://api.github.com/users/k4roshi/gists{/gist_id}","starred_url":"https://api.github.com/users/k4roshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k4roshi/subscriptions","organizations_url":"https://api.github.com/users/k4roshi/orgs","repos_url":"https://api.github.com/users/k4roshi/repos","events_url":"https://api.github.com/users/k4roshi/events{/privacy}","received_events_url":"https://api.github.com/users/k4roshi/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T11:39:45Z","updated_at":"2018-11-28T11:39:45Z","author_association":"NONE","body":"It can also be solved by deleting the .cache folder"}}
{"actor":{"display_login":"k4roshi"}}