Open Joilnen opened 3 years ago
I’m experiencing this as well. I don’t know if a fix yet.
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
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)