hexo g INFO Validating config INFO Start processing FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html TypeError: Cannot read properties of undefined (reading 'count') at module.exports (/Users/xxx/Documents/blog/node_modules/hexo-baidu-url-submit/lib/generator.js:4:41) at Hexo.tryCatcher (/Users/xxx/Documents/blog/node_modules/bluebird/js/release/util.js:16:23) at Hexo.<anonymous> (/Users/xxx/Documents/blog/node_modules/bluebird/js/release/method.js:15:34) at /Users/xxx/Documents/blog/node_modules/hexo/lib/hexo/index.js:407:22 at tryCatcher (/Users/xxx/Documents/blog/node_modules/bluebird/js/release/util.js:16:23) at MappingPromiseArray._promiseFulfilled (/Users/xxx/Documents/blog/node_modules/bluebird/js/release/map.js:68:38) at PromiseArray._iterate (/Users/xxx/Documents/blog/node_modules/bluebird/js/release/promise_array.js:115:31) at MappingPromiseArray.init (/Users/xxx/Documents/blog/node_modules/bluebird/js/release/promise_array.js:79:10) at MappingPromiseArray._asyncInit (/Users/xxx/Documents/blog/node_modules/bluebird/js/release/map.js:37:10) at _drainQueueStep (/Users/xxx/Documents/blog/node_modules/bluebird/js/release/async.js:97:12) at _drainQueue (/Users/xxx/Documents/blog/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/Users/xxx/Documents/blog/node_modules/bluebird/js/release/async.js:102:5) at Async.drainQueues [as _onImmediate] (/Users/xxx/Documents/blog/node_modules/bluebird/js/release/async.js:15:14) at process.processImmediate (node:internal/timers:476:21)
排查问题
1
hexo g --debug
通过debug模式查看问题所在,发现问题所在
1 2 3 4 5 6
14:02:48.751 DEBUG Generator: post 14:02:48.753 DEBUG Generator: archive 14:02:48.753 DEBUG Generator: index 14:02:48.754 DEBUG Generator: atom 14:02:48.762 DEBUG Generator: baidu_url_generator 14:02:48.763 FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html