gitbook-plugin-gitalks
- ไนๅไธ็ด็จ้ฃไธชๆ้ซไธ่ฝฝ็,ไฝๆฏๆๆไป็ๆไปถๆปๆฏๆฅ้..
info: installing plugin "mygitalk"
info: install plugin "mygitalk" (*) from NPM with version 0.2.6
fetchMetadata โ network โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
/Users/xzghua/.gitbook/versions/3.2.3/node_modules/npm/node_modules/aproba/index.js:25
if (args[ii] == null) throw missingRequiredArg(ii)
^
Error: Missing required argument #1
at andLogAndFinish (/Users/xzghua/.gitbook/versions/3.2.3/node_modules/npm/lib/fetch-package-metadata.js:31:3)
at fetchPackageMetadata (/Users/xzghua/.gitbook/versions/3.2.3/node_modules/npm/lib/fetch-package-metadata.js:51:22)
at resolveWithNewModule (/Users/xzghua/.gitbook/versions/3.2.3/node_modules/npm/lib/install/deps.js:490:12)
at /Users/xzghua/.gitbook/versions/3.2.3/node_modules/npm/lib/install/deps.js:491:7
at /Users/xzghua/.gitbook/versions/3.2.3/node_modules/npm/node_modules/iferr/index.js:13:50
at /Users/xzghua/.gitbook/versions/3.2.3/node_modules/npm/lib/fetch-package-metadata.js:37:12
at addRequestedAndFinish (/Users/xzghua/.gitbook/versions/3.2.3/node_modules/npm/lib/fetch-package-metadata.js:67:5)
at returnAndAddMetadata (/Users/xzghua/.gitbook/versions/3.2.3/node_modules/npm/lib/fetch-package-metadata.js:121:7)
at pickVersionFromRegistryDocument (/Users/xzghua/.gitbook/versions/3.2.3/node_modules/npm/lib/fetch-package-metadata.js:138:20)
at /Users/xzghua/.gitbook/versions/3.2.3/node_modules/npm/node_modules/iferr/index.js:13:50 {
code: 'EMISSINGARG'
}
- ่ฟไธช้่ฏฏๆ่งฃๅณไธไบ(ๆไธๆnode็ไพ่ตๅ
ณ็ณป).. ไบๆฏๆcopyไบไปฃ็ , ๅ ๆไธ้่ฆ็,ๅๅๅธๅฐnpmไธ
ๅฆไพต,่ฏท่็ณปๆๅ ้ค
็จๆณๆฏไธๆ ท็,ๅๆฐ้ฝๆฏไธๆ ท็
ไฝฟ็จๆญฅ้ชค
- ๅจไฝ ็gitbook้กน็ฎ็
book.json
้็plugins
้ๆทปๅ gitalks
,ๅนถๆทปๅ pluginsConfig
้
็ฝฎ
"plugins": ["gitalks"]
"pluginsConfig": {
"gitalks": {
"clientID": "xxxxxxx",
"clientSecret": "xxxxxxxsssssssssssss",
"repo": "your repo",
"owner": "your name",
"admin": ["you admin"],
"distractionFreeMode": false
},
}
- ๆง่ก
gitbook install
ๅณๅฏ
่ณไบclientID ๅ clientSecret ๅ่ https://github.com/gitalk/gitalk/blob/master/readme-cn.md