{"action":"opened","issue":{"url":"https://api.github.com/repos/zeit/next.js/issues/5044","repository_url":"https://api.github.com/repos/zeit/next.js","labels_url":"https://api.github.com/repos/zeit/next.js/issues/5044/labels{/name}","comments_url":"https://api.github.com/repos/zeit/next.js/issues/5044/comments","events_url":"https://api.github.com/repos/zeit/next.js/issues/5044/events","html_url":"https://github.com/zeit/next.js/issues/5044","id":354753499,"node_id":"MDU6SXNzdWUzNTQ3NTM0OTk=","number":5044,"title":"Build Failure when Running \"next build\" and unable to fetch instantly","user":{"login":"JeisonPham","id":20037757,"node_id":"MDQ6VXNlcjIwMDM3NzU3","avatar_url":"https://avatars2.githubusercontent.com/u/20037757?v=4","gravatar_id":"","url":"https://api.github.com/users/JeisonPham","html_url":"https://github.com/JeisonPham","followers_url":"https://api.github.com/users/JeisonPham/followers","following_url":"https://api.github.com/users/JeisonPham/following{/other_user}","gists_url":"https://api.github.com/users/JeisonPham/gists{/gist_id}","starred_url":"https://api.github.com/users/JeisonPham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeisonPham/subscriptions","organizations_url":"https://api.github.com/users/JeisonPham/orgs","repos_url":"https://api.github.com/users/JeisonPham/repos","events_url":"https://api.github.com/users/JeisonPham/events{/privacy}","received_events_url":"https://api.github.com/users/JeisonPham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-28T14:19:28Z","updated_at":"2018-08-28T14:19:28Z","closed_at":null,"author_association":"NONE","body":"# Question about Next.js\r\nWhy am I getting a build error when I run it on my digitalocean droplet? I suspect it has something to do with the default settings because when I run \"next build\" and \"next start\" on vs code, I get \r\n`> Ready on http://localhost:3000`\r\nwhen I am hosting it on :8080 in the server.js and nginx.\r\n\r\nI am also getting an error when I run \"sudo npm run dev\"\r\n\r\n> Failed to fetch\r\nTypeError: Failed to fetch\r\n\r\nI am using express and react to communicate with each other to get data from blog post,\r\nbut the data takes a while to load and the page needs to be refreshed. Is it because of my sync calls?\r\n\r\n[this is my repo incase anyone wants to look at my code\r\n](https://github.com/JeisonPham/CommunityCodingBlog)\r\nQuestions should be posted on https://spectrum.chat/next-js\r\n"}}
{"actor":{"display_login":"JeisonPham"}}