node: v14.0.0
CLI version: 2.3.2
GitBook version: 3.2.3
Windows10
When execute gitbook init
in an empty folder, it pops up:
$ 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 an instance of Promise
And there is no "SUMMARY.md" created... How could it be fixed?Thanks!
gitbook build
andgitbook serve
commands work anyway. Have you tried to build your docs withgitbook build
? Any errors? – Shelbysheldengitbook build
andgitbook serve
commands work fine. Butgitbook init
goes wrong, and I can't manage the summary of the book... I have to turn to use Docsify, which is pretty good as well. – Encomiumgitbook init
createsreadme.md
andsummary.md
files, nothing more. If the command fails, you can create SUMMARY.md manually and usegitbook build
to build your docs. Anyway, switching to a modern static-site generator is a good idea, as GitBook is heavily outdated (more than 2 years). – Shelbyshelden