简体   繁体   English

Gitbook PDF 转换错误:ENOENT

[英]Gitbook PDF convertion error: ENOENT

I used gitbook to write my thesis and now I need it converted to PDF.我使用 gitbook 写我的论文,现在我需要将它转换为 PDF。 Looked at every instruction there is and got gitbook pdf command to work.查看那里的每条指令,并让gitbook pdf命令起作用。 Next day I was told to install gitbook 3.0 so i did by using gitbook fetch latest .第二天我被告知要安装 gitbook 3.0,所以我使用gitbook fetch latest做到了。 From that point on the gitbook pdf command gave the error从那时起, gitbook pdf命令给出了错误

error: ENOENT: no such file or directory, stat 'C:\\Users\\some\\path\\to\\AppData\\Local\\Temp\\tmp-\\gitbook\\ebook.css'错误:ENOENT:没有这样的文件或目录,stat 'C:\\Users\\some\\path\\to\\AppData\\Local\\Temp\\tmp-\\gitbook\\ebook.css'

I checked to see if this file exists and it does, everytime I check the file the tmp_<somegibberish> changes but the file is always present.我检查了这个文件是否存在并且确实存在,每次我检查文件时tmp_<somegibberish>更改,但该文件始终存在。

Does anyone know what the problem is?有谁知道问题是什么? Is there a solution?有解决办法吗? Is there any other way to convert gitbook projects to pdf?有没有其他方法可以将 gitbook 项目转换为 pdf?

~/.gitbook/versions/3.2.3/lib/output/website/copyPluginAssets.js file, then find all the concursive configuration items in this file (2 places in total), change the original value true to False. ~/.gitbook/versions/3.2.3/lib/output/website/copyPluginAssets.js 文件,然后找到该文件中所有的concursive配置项(共2处),将原来的值改为true即可。

confirm: false确认:假

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

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