cb.apply is not a function on latest node image
Hello,
On latest node image version the CI script fails at gitbook fetch 3.2.3
with the following error:
$ gitbook fetch 3.2.3 Installing GitBook 3.2.3 /usr/local/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/local/lib/node_modules/gitbook-cli/node_modules/npm/node_modules/graceful-fs/polyfills.js:287:18 at FSReqCallback.oncomplete (node:fs:184:5) Cleaning up file based variables 00:00 ERROR: Job failed: exit code 1
This issue have been reported here
I don't know how to fix this in the CI script.
Thank you!