Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: WARNING something error when generate book, see detail info over #2

Closed
forecho opened this issue May 24, 2016 · 2 comments
Closed

Comments

@forecho
Copy link

forecho commented May 24, 2016

安装教程使用

node index

的时候,显示如下提示:

[Tue May 24 2016 06:05:47 GMT+0000 (UTC)] INFO resoving config...
[Tue May 24 2016 06:05:47 GMT+0000 (UTC)] INFO resoving datas...
[Tue May 24 2016 06:05:47 GMT+0000 (UTC)] INFO resoving templates...
[Tue May 24 2016 06:05:47 GMT+0000 (UTC)] INFO Download remote resources...
[Tue May 24 2016 06:05:47 GMT+0000 (UTC)] INFO OPF book directory rendering...wait a minute. add `-v` see detail.
[Tue May 24 2016 06:05:56 GMT+0000 (UTC)] WARNING something error when generate book, see detail info over.
[Tue May 24 2016 06:05:56 GMT+0000 (UTC)] INFO generate book at: /vagrant/php/kindleBookMaker/build/Barret Lee's Personal Website-20160524.mobi
[Tue May 24 2016 06:05:56 GMT+0000 (UTC)] INFO run cmd: rm -rf /vagrant/php/kindleBookMaker/src/KF8-Demo/toc.* /vagrant/php/kindleBookMaker/src/KF8-Demo/*.opf

build 目录下有生成 Barret Lee's Personal Website-20160524.mobi 文件,那么为什么会有这个 WARNING?是否对生成的 mobi 文件有影响?

PS:Linux 下使用的话要替换 /bin/kindlegen 文件

@barretlee
Copy link
Owner

barretlee commented May 24, 2016

WARNING 可以通过 -v 参数查看,只要 build 没有报 Error 级别错误,生成的文件就有效,我放到 Kindle 中测试过的。

打包的时候还是有很多种可能出现 warning,比如没有封面图,封面图太小,远程资源没有加载等等。

@forecho
Copy link
Author

forecho commented May 24, 2016

💯

@forecho forecho closed this as completed May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants