请问出现这个错误是为什么 Cannot read property 'enable' of undefined

Author: wsh3776Created Aug 31, 2019Updated Aug 11, 2024

$ hexo g -d INFO Start processing FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html TypeError: Cannot read property 'enable' of undefined at Hexo.logic (E:@shwei\CS\hexo\blog\node_modules\hexo-auto-category\lib\logic.js:16:35) at Hexo.tryCatcher (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\\util.js:16:23) at Hexo. (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\method.js:15:34) at Promise.each.filter (E:@shwei\CS\hexo\blog\node_modules\hexo\lib\extend\filter.js:60:50) at tryCatcher (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\\util.js:16:23) at Object.gotValue (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\reduce.js:155:18) at Object.gotAccum (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\reduce.js:144:25) at Object.tryCatcher (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\\util.js:16:23) at Promise._settlePromiseFromHandler (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\promise.js:517:31) at Promise._settlePromise (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\promise.js:574:18) at Promise._settlePromise0 (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\promise.js:619:10) at Promise._settlePromises (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\promise.js:699:18) at _drainQueueStep (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\async.js:138:12) at _drainQueue (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\async.js:131:9) at Async._drainQueues (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\async.js:147:5) at Immediate.Async.drainQueues [as _onImmediate] (E:@shwei\CS\hexo\blog\node_modules\bluebird\js\release\async.js:17:14) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5)