{"action":"opened","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9324","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9324/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9324/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9324/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/9324","id":373172336,"node_id":"MDU6SXNzdWUzNzMxNzIzMzY=","number":9324,"title":"Followed the v2 upgrade guide. Site builds, but is just blank (with no errors?)","user":{"login":"WebD00D","id":12498742,"node_id":"MDQ6VXNlcjEyNDk4NzQy","avatar_url":"https://avatars2.githubusercontent.com/u/12498742?v=4","gravatar_id":"","url":"https://api.github.com/users/WebD00D","html_url":"https://github.com/WebD00D","followers_url":"https://api.github.com/users/WebD00D/followers","following_url":"https://api.github.com/users/WebD00D/following{/other_user}","gists_url":"https://api.github.com/users/WebD00D/gists{/gist_id}","starred_url":"https://api.github.com/users/WebD00D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebD00D/subscriptions","organizations_url":"https://api.github.com/users/WebD00D/orgs","repos_url":"https://api.github.com/users/WebD00D/repos","events_url":"https://api.github.com/users/WebD00D/events{/privacy}","received_events_url":"https://api.github.com/users/WebD00D/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-23T19:52:38Z","updated_at":"2018-10-23T19:52:38Z","closed_at":null,"author_association":"NONE","body":"## Summary\r\n\r\nUpgraded to Gatsby v2. After following the guide I'm stuck with a blank screen, with no console / terminal errors to point me in even the slightest direction. I wish I had more to go off, but posting here incase maybe someone has already dealt with this before. \r\n\r\n### Environment (if relevant)\r\n\r\nSystem:\r\n    OS: macOS High Sierra 10.13.6\r\n    CPU: x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz\r\n    Shell: 5.3 - /bin/zsh\r\n  Binaries:\r\n    Node: 10.12.0 - /usr/local/bin/node\r\n    Yarn: 1.7.0 - /usr/local/bin/yarn\r\n    npm: 6.4.1 - /usr/local/bin/npm\r\n  Browsers:\r\n    Chrome: 70.0.3538.67\r\n    Firefox: 62.0.2\r\n    Safari: 11.1.2\r\n  npmPackages:\r\n    gatsby: ^2.0.29 => 2.0.29\r\n    gatsby-link: next => 2.0.0-rc.4\r\n    gatsby-plugin-layout: ^1.0.4 => 1.0.4\r\n    gatsby-plugin-react-helmet: ^1.0.5 => 1.0.8\r\n  npmGlobalPackages:\r\n    gatsby-cli: 1.1.58\r\n\r\n### File contents (if changed)\r\n\r\n`gatsby-config.js`: \r\n\r\n``` module.exports = {\r\n  siteMetadata: {\r\n    title: `Gatsby Default Starter`\r\n  },\r\n  plugins: [`gatsby-plugin-react-helmet`, `gatsby-plugin-layout` ]\r\n};\r\n ```\r\n`package.json`: \r\n\r\n```\r\n{\r\n  \"name\": \"gatsby-starter-default\",\r\n  \"description\": \"Gatsby default starter\",\r\n  \"version\": \"1.0.0\",\r\n  \"author\": \"Kyle Mathews <mathews.kyle@gmail.com>\",\r\n  \"dependencies\": {\r\n    \"antd\": \"^3.7.0\",\r\n    \"dotenv\": \"^4.0.0\",\r\n    \"firebase\": \"^4.3.1\",\r\n    \"gatsby\": \"^2.0.29\",\r\n    \"gatsby-link\": \"next\",\r\n    \"gatsby-plugin-layout\": \"^1.0.4\",\r\n    \"gatsby-plugin-react-helmet\": \"^1.0.5\",\r\n    \"lodash\": \"^4.17.4\",\r\n    \"moment\": \"^2.18.1\",\r\n    \"moment-timezone\": \"^0.5.13\",\r\n    \"pluralize\": \"^7.0.0\",\r\n    \"react\": \"^16.5.2\",\r\n    \"react-big-calendar\": \"^0.17.0\",\r\n    \"react-color\": \"^2.14.1\",\r\n    \"react-disqus-comments\": \"^1.1.1\",\r\n    \"react-dom\": \"^16.5.2\",\r\n    \"react-firebase\": \"^2.2.7-4\",\r\n    \"react-firebase-file-uploader\": \"^2.4.1\",\r\n    \"react-google-maps\": \"^9.4.5\",\r\n    \"react-intl\": \"^2.4.0\",\r\n    \"react-map-gl\": \"^3.1.1\",\r\n    \"react-moment\": \"^0.6.5\",\r\n    \"react-redux\": \"^5.0.6\",\r\n    \"react-router-redux\": \"^4.0.8\",\r\n    \"redux\": \"^3.7.2\",\r\n    \"reselect\": \"^3.0.1\",\r\n    \"styled-components\": \"^3.4.5\",\r\n    \"whatwg-fetch\": \"^2.0.3\"\r\n  },\r\n  \"keywords\": [\r\n    \"gatsby\"\r\n  ],\r\n  \"license\": \"MIT\",\r\n  \"main\": \"n/a\",\r\n  \"scripts\": {\r\n    \"build\": \"gatsby build\",\r\n    \"develop\": \"gatsby develop\",\r\n    \"format\": \"prettier --trailing-comma es5 --no-semi --single-quote --write 'src/**/*.js'\",\r\n    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@helpscout/blue\": \"^0.5.9\",\r\n    \"classnames\": \"^2.2.5\",\r\n    \"eslint\": \"^5.7.0\",\r\n    \"prettier\": \"^1.6.1\"\r\n  }\r\n}\r\n\r\n```\r\n`gatsby-node.js`: N/A <!-- Please use a code block or just leave it as is if wasn't changed -->\r\n\r\n`gatsby-browser.js`: \r\n\r\n```\r\nimport React from 'react'\r\nimport { Provider } from 'react-redux'\r\n\r\nimport createStore from './src/state/createStore';\r\n\r\nexport const wrapRootElement = ({ history }) => {\r\n  const store = createStore();\r\n\r\n  const ConnectedRootElement = ({ element }) => (\r\n    <Provider store={store}>\r\n      {element}\r\n    </Provider>\r\n  );\r\n\r\n  return ConnectedRootElement;\r\n};\r\n\r\n ```\r\n\r\n`gatsby-ssr.js`: \r\n\r\n``` import React from 'react';\r\nimport { Provider } from 'react-redux';\r\nimport { renderToString } from 'react-dom/server'\r\n\r\nimport createStore from './src/state/createStore'\r\n\r\nexport const replaceRenderer = ({ bodyComponent, replaceBodyHTMLString }) => {\r\n  const store  = createStore()\r\n  const ConnectedBody = () => (\r\n    <Provider store={store}>\r\n      {bodyComponent}\r\n    </Provider>\r\n  )\r\n\r\n  replaceBodyHTMLString(renderToString(<ConnectedBody />))\r\n\r\n}\r\n\r\n ```\r\n"}}
{"actor":{"display_login":"WebD00D"}}