-
Notifications
You must be signed in to change notification settings - Fork 212
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
TypeError [ERR_INVALID_ARG_TYPE] when execute gitbook init #108
Comments
the reason may be that it is not compatible for the newest version of the node.js |
I got the same issue. ➜ gitbook 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
➜ gitbook gitbook -V
CLI version: 2.3.2
GitBook version: 3.2.3
➜ gitbook node -v
v14.3.0 |
I got the same issue. 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 |
same issue with me too |
me too |
same issue lolz |
me too |
me too, found a useful link, BTW |
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 me too |
Question@muzhicaoming, any progress made trying to fix this issue? Just curious. |
me too , Try to lower the node.js version, it works fine in v12.22.12 version, no error message appears. |
wangzhimengdeMacBook:books wangzhimeng$ gitbook init
warn: no summary file in this book
info: create README.md
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
The text was updated successfully, but these errors were encountered: