iissnan / iissnan/theme-next-docs
next 里面的algolia 安装不上去,报错,我是按照next的文档来进行操作的,请大神指导
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 165
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
$ hexo algolia
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/do cs/troubleshooting.html
TypeError: Cannot read property 'applicationID' of undefined
at Hexo.module.exports (D:\hexo\node_modules\hexo-algolia\lib\command.js:23: 19)
at Hexo.tryCatcher (D:\hexo\node_modules\bluebird\js\release\util.js:16:23)
at Hexo.ret (eval at makeNodePromisifiedEval (C:\Users\Administrator\AppData \Roaming\npm\node_modules\hexo-cli\node_modules\_bluebird@3.5.0@bluebird\js\rele ase\promisify.js:184:12), :13:39)
at D:\hexo\node_modules\hexo\lib\hexo\index.js:195:9
at Promise._execute (D:\hexo\node_modules\bluebird\js\release\debuggability. js:300:9)
at Promise._resolveFromExecutor (D:\hexo\node_modules\bluebird\js\release\pr omise.js:483:18)
at new Promise (D:\hexo\node_modules\bluebird\js\release\promise.js:79:10)
at Hexo.call (D:\hexo\node_modules\hexo\lib\hexo\index.js:191:10)
at C:\Users\Administrator\AppData\Roaming\npm\node_modules\hexo-cli\lib\hexo .js:66:17
at tryCatcher (C:\Users\Administrator\AppData\Roaming\npm\node_modules\hexo- cli\node_modules\_bluebird@3.5.0@bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\Administrator\AppData\Roaming \npm\node_modules\hexo-cli\node_modules\_bluebird@3.5.0@bluebird\js\release\prom ise.js:512:31)
at Promise._settlePromise (C:\Users\Administrator\AppData\Roaming\npm\node_m odules\hexo-cli\node_modules\_bluebird@3.5.0@bluebird\js\release\promise.js:569: 18)
at Promise._settlePromise0 (C:\Users\Administrator\AppData\Roaming\npm\node_ modules\hexo-cli\node_modules\_bluebird@3.5.0@bluebird\js\release\promise.js:614 :10)
at Promise._settlePromises (C:\Users\Administrator\AppData\Roaming\npm\node_ modules\hexo-cli\node_modules\_bluebird@3.5.0@bluebird\js\release\promise.js:693 :18)
at Async._drainQueue (C:\Users\Administrator\AppData\Roaming\npm\node_module s\hexo-cli\node_modules\_bluebird@3.5.0@bluebird\js\release\async.js:133:16)
at Async._drainQueues (C:\Users\Administrator\AppData\Roaming\npm\node_modul es\hexo-cli\node_modules\_bluebird@3.5.0@bluebird\js\release\async.js:143:10)
at Immediate.Async.drainQueues (C:\Users\Administrator\AppData\Roaming\npm\n ode_modules\hexo-cli\node_modules\_bluebird@3.5.0@bluebird\js\release\async.js:1 7:14)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing `hexo algolia` and inspect `node_modules/hexo-algolia/lib/command.js` at line 23, then compare the required configuration with the NexT documentation and linked troubleshooting page. Done means the documented setup no longer produces an undefined `applicationID`, or the documentation clearly explains the required configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100