{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/now-cli/issues/942","repository_url":"https://api.github.com/repos/zeit/now-cli","labels_url":"https://api.github.com/repos/zeit/now-cli/issues/942/labels{/name}","comments_url":"https://api.github.com/repos/zeit/now-cli/issues/942/comments","events_url":"https://api.github.com/repos/zeit/now-cli/issues/942/events","html_url":"https://github.com/zeit/now-cli/issues/942","id":267239791,"node_id":"MDU6SXNzdWUyNjcyMzk3OTE=","number":942,"title":"\"Unexpected error. Please try again later.\" during deployment","user":{"login":"furf","id":35775,"node_id":"MDQ6VXNlcjM1Nzc1","avatar_url":"https://avatars1.githubusercontent.com/u/35775?v=4","gravatar_id":"","url":"https://api.github.com/users/furf","html_url":"https://github.com/furf","followers_url":"https://api.github.com/users/furf/followers","following_url":"https://api.github.com/users/furf/following{/other_user}","gists_url":"https://api.github.com/users/furf/gists{/gist_id}","starred_url":"https://api.github.com/users/furf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furf/subscriptions","organizations_url":"https://api.github.com/users/furf/orgs","repos_url":"https://api.github.com/users/furf/repos","events_url":"https://api.github.com/users/furf/events{/privacy}","received_events_url":"https://api.github.com/users/furf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-10-20T16:58:28Z","updated_at":"2018-08-30T08:25:42Z","closed_at":"2017-10-20T20:41:45Z","author_association":"NONE","body":"When running `now -d` to deploy my project, I get an unexpected error.\r\n\r\n```bash\r\n~/src/project-name 👈  now -d\r\n> Deploying ~/src/project-name under ********\r\n> [debug] Detected `deploymentType` = `npm`\r\n> [debug] Detected `deploymentName` = \"project-name\"\r\n> [debug] ignoring \"/Users/********/src/project-name/.DS_Store\"\r\n> [debug] ignoring \"/Users/********/src/project-name/node_modules\"\r\n> [debug] ignoring \"/Users/********/src/project-name/npm-debug.log\"\r\n> [debug] ignoring \"/Users/********/src/project-name/components/.DS_Store\"\r\n> [debug] locating files /Users/********/src/project-name: 40.945ms\r\n> [debug] Getting files: 54.949ms\r\n> [debug] Computing hashes: 102.523ms\r\n> [debug] /now/create: 5302.537ms\r\n> [debug] Retrying: Error: Unexpected response\r\nError: Unexpected response\r\n    at module.exports.EventEmitter.create.deployment.retry (/snapshot/now-cli/dist/now.js:402:15)\r\n    at process._tickCallback (internal/process/next_tick.js:109:7)\r\n> [debug] /now/create: 5132.542ms\r\n> [debug] Retrying: Error: Unexpected response\r\nError: Unexpected response\r\n    at module.exports.EventEmitter.create.deployment.retry (/snapshot/now-cli/dist/now.js:402:15)\r\n    at process._tickCallback (internal/process/next_tick.js:109:7)\r\n> [debug] /now/create: 6404.834ms\r\n> [debug] Retrying: Error: Unexpected response\r\nError: Unexpected response\r\n    at module.exports.EventEmitter.create.deployment.retry (/snapshot/now-cli/dist/now.js:402:15)\r\n    at process._tickCallback (internal/process/next_tick.js:109:7)\r\n> [debug] /now/create: 1921.381ms\r\n> [debug] error: Error: Unexpected response\r\nError: Unexpected response\r\n    at module.exports.EventEmitter.create.deployment.retry (/snapshot/now-cli/dist/now.js:402:15)\r\n    at process._tickCallback (internal/process/next_tick.js:109:7)\r\n> Error! Unexpected error. Please try again later. (Unexpected response)\r\n```\r\n\r\nHere is my package.json (if it helps).\r\n\r\n```json\r\n{\r\n  \"name\": \"project-name\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"\",\r\n  \"main\": \"index.js\",\r\n  \"scripts\": {\r\n    \"dev\": \"micro-dev index.js\",\r\n    \"start\": \"micro index.js\",\r\n    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\r\n  },\r\n  \"author\": \"********\",\r\n  \"private\": true,\r\n  \"dependencies\": {\r\n    \"apollo-server-micro\": \"^1.1.7\",\r\n    \"graphql\": \"^0.11.7\",\r\n    \"graphql-tools\": \"^2.5.1\",\r\n    \"isomorphic-fetch\": \"^2.2.1\",\r\n    \"micro\": \"^9.0.0\",\r\n    \"micro-cors\": \"0.0.4\",\r\n    \"microrouter\": \"^2.2.3\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"micro-dev\": \"^1.2.3\"\r\n  }\r\n}\r\n```\r\n\r\nMy project is running fine locally using `npm start` and `npm run dev`.\r\n\r\nI am also having trouble deploying another project which has previously deployed successfully and continues to run on now.sh.\r\n\r\nIs this a network or system error?"},"comment":{"url":"https://api.github.com/repos/zeit/now-cli/issues/comments/417234256","html_url":"https://github.com/zeit/now-cli/issues/942#issuecomment-417234256","issue_url":"https://api.github.com/repos/zeit/now-cli/issues/942","id":417234256,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzIzNDI1Ng==","user":{"login":"johnbrett","id":4015939,"node_id":"MDQ6VXNlcjQwMTU5Mzk=","avatar_url":"https://avatars2.githubusercontent.com/u/4015939?v=4","gravatar_id":"","url":"https://api.github.com/users/johnbrett","html_url":"https://github.com/johnbrett","followers_url":"https://api.github.com/users/johnbrett/followers","following_url":"https://api.github.com/users/johnbrett/following{/other_user}","gists_url":"https://api.github.com/users/johnbrett/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbrett/subscriptions","organizations_url":"https://api.github.com/users/johnbrett/orgs","repos_url":"https://api.github.com/users/johnbrett/repos","events_url":"https://api.github.com/users/johnbrett/events{/privacy}","received_events_url":"https://api.github.com/users/johnbrett/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T08:25:42Z","updated_at":"2018-08-30T08:25:42Z","author_association":"NONE","body":"I'm having this exact problem now, trying to deploy a docker based project. Any ideas on how to debug?"}}
{"actor":{"display_login":"johnbrett"}}