简体   繁体   English

无法发布GitBook,错误消息模糊且没有细节

[英]Can't publish GitBook, the error message is vague and without detail

I'm trying to publish something that I've written to my GitBook page using the GitBook GUI on Ubuntu 14. To do that I'm just going to book > publish as > book-name 我正在尝试使用Ubuntu 14上的GitBook GUI发布我写到GitBook页面上的内容。为此,我将要预订>发布为> book-name

But this error appears: 但是出现此错误:

This doesn't happen often, but it looks like something is broken. 这种情况并不经常发生,但是看起来有些东西坏了。 Hitting the back button and trying again might be your best bet. 击后退按钮并重试可能是最好的选择。 If that doesn't work you can head back to the homepage. 如果这样不起作用,您可以返回首页。

There might be more information on our status page which is reporting All Systems Operational. 在我们的状态页面上可能会有更多信息,该页面报告“所有系统正在运行”。

The book names already been set up as a thing on the website, and I'm signed in on both programme and website. 书名已经作为网站上的东西设置好了,我已经在程序和网站上登录了。

I'm not sure what I'm meant to do. 我不确定我打算做什么。

The current GitBook version 1.1.1 (and previous versions) have a bug/issue reported which relates to this error message and its vagueness. 当前的GitBook版本1.1.1(和以前的版本)报告了一个错误/问题,该错误/问题与该错误消息及其模糊性有关。

https://github.com/GitbookIO/editor/issues/185 https://github.com/GitbookIO/editor/issues/185

The problem you are experiencing is likely due to an invalid value specified for the Version when you try to publish. 您遇到的问题可能是由于在尝试发布时为Version指定的无效值。

Although the publish dialog does provide a hint: 尽管发布对话框确实提供了提示: 在此处输入图片说明

Version must be a semver (ex: 0.0.1, 0.4.5, ...) 版本必须为semver(例如:0.0.1、0.4.5,...)

there is nothing in the error message to help you understand that this Version value is source of the error. 错误消息中没有任何内容可以帮助您了解此Version值是错误的来源。

If you provide a value for Version in the format suggested by the hint in the dialog, I believe you will no longer encounter this error. 如果您以对话框提示所建议的格式提供Version的值,我相信您将不再遇到此错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM