{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/now-examples/issues/196","repository_url":"https://api.github.com/repos/zeit/now-examples","labels_url":"https://api.github.com/repos/zeit/now-examples/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/zeit/now-examples/issues/196/comments","events_url":"https://api.github.com/repos/zeit/now-examples/issues/196/events","html_url":"https://github.com/zeit/now-examples/issues/196","id":391672070,"node_id":"MDU6SXNzdWUzOTE2NzIwNzA=","number":196,"title":"Next.js + Express example can't be deployed to Now","user":{"login":"tiotdev","id":18411522,"node_id":"MDQ6VXNlcjE4NDExNTIy","avatar_url":"https://avatars1.githubusercontent.com/u/18411522?v=4","gravatar_id":"","url":"https://api.github.com/users/tiotdev","html_url":"https://github.com/tiotdev","followers_url":"https://api.github.com/users/tiotdev/followers","following_url":"https://api.github.com/users/tiotdev/following{/other_user}","gists_url":"https://api.github.com/users/tiotdev/gists{/gist_id}","starred_url":"https://api.github.com/users/tiotdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiotdev/subscriptions","organizations_url":"https://api.github.com/users/tiotdev/orgs","repos_url":"https://api.github.com/users/tiotdev/repos","events_url":"https://api.github.com/users/tiotdev/events{/privacy}","received_events_url":"https://api.github.com/users/tiotdev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-12-17T10:06:22Z","updated_at":"2019-01-03T17:11:31Z","closed_at":null,"author_association":"NONE","body":"# Examples bug report\r\n\r\n## Example name\r\nExpress example (https://github.com/zeit/next.js/tree/canary/examples/custom-server-express) \r\n\r\n## Describe the bug\r\nCan't deploy to now\r\n\r\n## To Reproduce\r\nThe \"deploy to now button\" takes me to a site where I can enter an API token and press deploy. It says \"Initialising\" - and then nothing happens and it goes back to where I should enter an API token.\r\n\r\nSo I tried it manually:\r\n- Downloading the example, `npm install`, adding the now.json file\r\n`{\r\n  \"version\": 2,\r\n  \"name\": \"nodejs-express\",\r\n  \"builds\": [{ \"src\": \"server.js\", \"use\": \"@now/node-server\" }]\r\n}` (source: https://zeit.co/examples/nodejs-express/)\r\nreturns a directory listing with the \"server.js\" file.\r\n\r\nChanging the filename from \"server.js\" to \"index.js\" and changing this as well in package.json and now.json, running `npm run build` and then `now` generates a HTTP ERROR 500.\r\n\r\n## Expected behaviour\r\nI should be able to deploy the example"},"comment":{"url":"https://api.github.com/repos/zeit/now-examples/issues/comments/451210803","html_url":"https://github.com/zeit/now-examples/issues/196#issuecomment-451210803","issue_url":"https://api.github.com/repos/zeit/now-examples/issues/196","id":451210803,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTIxMDgwMw==","user":{"login":"bukinoshita","id":6929565,"node_id":"MDQ6VXNlcjY5Mjk1NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/6929565?v=4","gravatar_id":"","url":"https://api.github.com/users/bukinoshita","html_url":"https://github.com/bukinoshita","followers_url":"https://api.github.com/users/bukinoshita/followers","following_url":"https://api.github.com/users/bukinoshita/following{/other_user}","gists_url":"https://api.github.com/users/bukinoshita/gists{/gist_id}","starred_url":"https://api.github.com/users/bukinoshita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bukinoshita/subscriptions","organizations_url":"https://api.github.com/users/bukinoshita/orgs","repos_url":"https://api.github.com/users/bukinoshita/repos","events_url":"https://api.github.com/users/bukinoshita/events{/privacy}","received_events_url":"https://api.github.com/users/bukinoshita/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T17:11:31Z","updated_at":"2019-01-03T17:11:31Z","author_association":"NONE","body":"Is there a way to deploy NextJS + Express? I can't deploy any of my apps on v2 "}}
{"actor":{"display_login":"bukinoshita"}}