gitbook因为nodejs版本不匹配导致安装报错
gitbook因为nodejs版本不匹配导致安装报错
August 1, 2020
如果nodejs使用的不是10.x版本,就会报错
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 (fs.js:177:5)
参考:
最后更新于