{"id":149327,"date":"2020-08-22T04:36:47","date_gmt":"2020-08-21T20:36:47","guid":{"rendered":"http:\/\/4563.org\/?p=149327"},"modified":"2020-08-22T04:36:47","modified_gmt":"2020-08-21T20:36:47","slug":"gitbook-%e4%b8%80%e7%9b%b4%e5%ae%89%e8%a3%85%e5%a4%b1%e8%b4%a5","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=149327","title":{"rendered":"Gitbook \u4e00\u76f4\u5b89\u88c5\u5931\u8d25"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Gitbook \u4e00\u76f4\u5b89\u88c5\u5931\u8d25               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dyxang <\/span>  <span><i><\/i> 13<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>Windows \u5728\u6587\u6863\u76ee\u5f55\u4e0b\u8fd0\u884c<code>gitbook init<\/code>\u5b89\u88c5\uff0c\u7ed3\u679c\u5f39\u9519\u8bef\uff1a<\/p>\n<pre><code>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) <\/code><\/pre>\n<ul>\n<li>\u7528\u4e86\u6dd8\u5b9d\u6e90\uff1a<code>npm config set registry=http:\/\/registry.npm.taobao.org -g<\/code><\/li>\n<li>\u5b89\u88c5 cli \u65f6\u4f7f\u7528\u7684\u662f <code>npm install -g gitbook-cli<\/code><\/li>\n<\/ul>\n<p>\u6025\u6b7b\u4e86\uff0c\u4e0d\u4f1a\u7528\uff0c\u6709\u65e0\u80fd\u89e3\u51b3\u95ee\u9898\u7684\u8001\u54e5\u5e2e\u5e2e\u6211<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>4<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3115828\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kaqiuqiu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6700\u65b0\u7248\u7684 nodejs \u66f4\u65b0\u4e86 fs \u67d0\u4e2a\u7279\u6027(\u5305\u62ec LTS \u7248 \u548c 14+ \u7248).<br \/>\u4e34\u65f6\u89e3\u51b3\u529e\u6cd5:\u5f80\u524d\u9000\u4e00\u4e2a\u5c0f\u7248\u672c,\u4f8b\u5982\u7528 12.18.2 \u7248\u672c.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3115829\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : dyxang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @kaqiuqiu \u597d\u7684\u8c22\u8c22\uff0c\u6211\u8fd8\u662f\u9759\u9759\u7b49\u5f85\u66f4\u65b0\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3115830\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : raaaaaar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u65e5\u5e38\u63a8\u8350 mdbook \u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3115831\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : dyxang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @raaaaaar \u4f5c\u4e3a\u4e00\u4e2a\u83dc\u9e1f\u6765\u8bf4\uff0c\u54ea\u4e2a\u672c\u5730\u5316\u505a\u5f97\u597d\u7528\u54ea\u4e2a\uff0c\u8fd9\u4e2a\u6211\u4e5f\u53bb\u770b\u770b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Gitbook \u4e00\u76f4\u5b89\u88c5\u5931\u8d25 \u8cc7\u6df1&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/149327"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=149327"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/149327\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=149327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=149327"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=149327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}