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

I can't run gitbook serve inside en directory #298

Open
Joilnen opened this issue Jan 5, 2021 · 2 comments
Open

I can't run gitbook serve inside en directory #298

Joilnen opened this issue Jan 5, 2021 · 2 comments

Comments

@Joilnen
Copy link

Joilnen commented Jan 5, 2021

Someone know how to fix this ?

$ gitbook serve
Live reload server started on port: 35729
Press CTRL+C to quit ...

/usr/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 /usr/lib/node_modules/gitbook-cli/node_modules/npm/node_modules/graceful-fs/polyfills.js:287:18
at FSReqCallback.oncomplete (node:fs:200:5)

@slackmoehrle
Copy link
Collaborator

I’m experiencing this as well. I don’t know if a fix yet.

@Joilnen
Copy link
Author

Joilnen commented Jan 5, 2021

after to try this, changed the issue
https://stackoverflow.com/questions/64211386/gitbook-cli-install-error-typeerror-cb-apply-is-not-a-function-inside-graceful

node:internal/streams/readable:652
if (state.pipes.length === 1) {
^

TypeError: Cannot read property 'pipes' of undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants