gitbook polyfills.js报错:TypeError: cb.apply is not a function

问题:

原因:

nodejs的版本不对,不支持这个gitbook

解决:

方案一:

安装并切换到v10.21.0,然后重新安装gitbook-cli

 

方案二:

找到polyfills.js,注释如下代码

扫码领红包

公众号

头条号