我刚刚在我的ubuntu 14.04上安装了gitboot。很快,我发现它不稳定。gitbook -h显示以下内容:
home: gitbook -h
Usage: gitbook [options] [command]
Commands:
ls List versions installed locally
current Display currently activated version
ls-remote List remote versions availabl
节点: v14.0.0
CLI版本: 2.3.2
GitBook版本: 3.2.3
Windows10
当在空文件夹中执行gitbook init时,它会弹出:
$ gitbook init
warn: no summary file in this book
info: create SUMMARY.md
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received
在终端中执行任何gitbook命令时,会引发以下错误:
/home/travis/.nvm/versions/node/v12.18.3/lib/node_modules/gitbook-cli/node_modules/npm/node_modules/graceful-fs/polyfills.js:287
if (cb) cb.apply(this, arguments)
^
TypeError: cb.apply is not a function
at /home/travis/.nvm/versions/node/v12.18.