Skip to content
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

環境構築時にgitbook init で、「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」発生 #1

Closed
gurezo opened this issue Sep 18, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@gurezo
Copy link
Member

gurezo commented Sep 18, 2022

gitbook init で、下記エラー発生

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-cli で、issue が立っている

@gurezo gurezo added the bug Something isn't working label Sep 18, 2022
@gurezo gurezo self-assigned this Sep 18, 2022
@yoshinorin
Copy link
Member

yoshinorin commented Sep 18, 2022

@gurezo

gitbookの代わりに honkit を使用するのはどうでしょうか?

gitbookはOSS版はもう メンテしないと宣言してあります。gitbook から Forkされたのが honkit で基本的に gitbook と互換があり、そのまま同じように使用できるという認識です。(すみません、両方とも実際に使用したことはないのですが...)

@gurezo
Copy link
Member Author

gurezo commented Sep 18, 2022

@yoshinorin
情報ありがとうございます!
試してフィードバックしますね!

@gurezo
Copy link
Member Author

gurezo commented Sep 19, 2022

@yoshinorin
自分の gitbook を変更してみましたが、簡単でした!
こちらで作成を勧めます!

@gurezo
Copy link
Member Author

gurezo commented Sep 19, 2022

hokit で、開発すすめるので close

@gurezo gurezo closed this as completed Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants