解决 TypeError [ERR_INVALID_ARG_TYPE]: The data argument must be of type string or an instance of Buffe

安装 GitBook 时出现这个错误,将node版本降级即可

MINGW64 ~/Desktop/dir1/dir11
$ 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