Gitbook 一直安装失败
資深大佬 : dyxang 13
Windows 在文档目录下运行gitbook init安装,结果弹错误:
Installing GitBook 3.2.3 C:UsersXXXAppDataRoamingnpmnode_modulesgitbook-clinode_modulesnpmnode_modulesgraceful-fspolyfills.js:287 if (cb) cb.apply(this, arguments) ^ TypeError: cb.apply is not a function at C:UsersXXXAppDataRoamingnpmnode_modulesgitbook-clinode_modulesnpmnode_modulesgraceful-fspolyfills.js:287:18 at FSReqCallback.oncomplete (fs.js:177:5)
- 用了淘宝源:
npm config set registry=http://registry.npm.taobao.org -g - 安装 cli 时使用的是
npm install -g gitbook-cli
急死了,不会用,有无能解决问题的老哥帮帮我
大佬有話說 (4)