{"action":"created","issue":{"url":"https://api.github.com/repos/GitbookIO/gitbook/issues/1575","repository_url":"https://api.github.com/repos/GitbookIO/gitbook","labels_url":"https://api.github.com/repos/GitbookIO/gitbook/issues/1575/labels{/name}","comments_url":"https://api.github.com/repos/GitbookIO/gitbook/issues/1575/comments","events_url":"https://api.github.com/repos/GitbookIO/gitbook/issues/1575/events","html_url":"https://github.com/GitbookIO/gitbook/issues/1575","id":185368755,"number":1575,"title":"Gitbook build fail due to a non-existing file","user":{"login":"Cypresslin","id":4279327,"avatar_url":"https://avatars.githubusercontent.com/u/4279327?v=3","gravatar_id":"","url":"https://api.github.com/users/Cypresslin","html_url":"https://github.com/Cypresslin","followers_url":"https://api.github.com/users/Cypresslin/followers","following_url":"https://api.github.com/users/Cypresslin/following{/other_user}","gists_url":"https://api.github.com/users/Cypresslin/gists{/gist_id}","starred_url":"https://api.github.com/users/Cypresslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cypresslin/subscriptions","organizations_url":"https://api.github.com/users/Cypresslin/orgs","repos_url":"https://api.github.com/users/Cypresslin/repos","events_url":"https://api.github.com/users/Cypresslin/events{/privacy}","received_events_url":"https://api.github.com/users/Cypresslin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-26T11:36:51Z","updated_at":"2016-10-29T15:16:49Z","closed_at":null,"body":"Hello,\r\nmy book failed to build due to a non-existing file /tmp/book/README.md\r\nI'm not sure if it caused by a job that's [still running](https://www.gitbook.com/book/cypresslin/rolleiflex-622-repair/build/5810799689e7d0100051c0b3) (for over 2 hours)\r\n\r\nI did create a README.md in the root directory (before that, it's [complaining about a missing /tmp/book/undefined file](https://www.gitbook.com/book/cypresslin/rolleiflex-622-repair/build/58107b2a38017110002a589d))\r\n\r\nHere is the complete output from gitbook:\r\n\r\n    Downloading source\r\n    Pulling from S3\r\n    Extracting source\r\n    GitBook version is 3.2.2\r\n    Tweaking book.json\r\n    Installing plugins\r\n    info: installing 1 plugins using npm@3.9.2 \r\n    info:  \r\n    info: installing plugin \"comment\" \r\n    info: install plugin \"comment\" (*) from NPM with version 1.0.5 \r\n    /tmp/book\r\n    └── gitbook-plugin-comment@1.0.5 \r\n\r\n    info: >> plugin \"comment\" installed with success \r\n    Building EPUB, will upload\r\n    info: parsing multilingual book, with 2 languages \r\n\r\n    Error: ENOENT: no such file or directory, scandir '/tmp/book/README.md'\r\n\r\nMy book can be found [here](https://www.gitbook.com/book/cypresslin/rolleiflex-622-repair/details). Thanks"},"comment":{"url":"https://api.github.com/repos/GitbookIO/gitbook/issues/comments/257097208","html_url":"https://github.com/GitbookIO/gitbook/issues/1575#issuecomment-257097208","issue_url":"https://api.github.com/repos/GitbookIO/gitbook/issues/1575","id":257097208,"user":{"login":"Cypresslin","id":4279327,"avatar_url":"https://avatars.githubusercontent.com/u/4279327?v=3","gravatar_id":"","url":"https://api.github.com/users/Cypresslin","html_url":"https://github.com/Cypresslin","followers_url":"https://api.github.com/users/Cypresslin/followers","following_url":"https://api.github.com/users/Cypresslin/following{/other_user}","gists_url":"https://api.github.com/users/Cypresslin/gists{/gist_id}","starred_url":"https://api.github.com/users/Cypresslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cypresslin/subscriptions","organizations_url":"https://api.github.com/users/Cypresslin/orgs","repos_url":"https://api.github.com/users/Cypresslin/repos","events_url":"https://api.github.com/users/Cypresslin/events{/privacy}","received_events_url":"https://api.github.com/users/Cypresslin/received_events","type":"User","site_admin":false},"created_at":"2016-10-29T15:16:49Z","updated_at":"2016-10-29T15:16:49Z","body":"I think I've found the root cause of this.\r\n\r\nI removed one of the link in LANGS.md, but when it builds, it will add a link to it automatically, which points to \"undefined\", therefore causing this file not found error.\r\n\r\nMaybe it shouldn't do this?"}}
{"actor":{"display_login":"Cypresslin"}}