$ hexo g INFO Start processing FATAL Something's wrong. Maybe you can find the solution here: [http://hexo.io/docs/troubleshooting.html](http://hexo.io/docs/troubleshooting.html) TypeError: Cannot read property 'count' of undefined at Hexo.module.exports (E:\github\hexo\node_modules\hexo-baidu-url-submit\lib\generator.js:4:40) at Hexo.tryCatcher (E:\github\hexo\node_modules\bluebird\js\release\util.js:16:23) at Hexo. (E:\github\hexo\node_modules\bluebird\js\release\method.js:15:34) at E:\github\hexo\node_modules\hexo\lib\hexo\index.js:337:24 at tryCatcher (E:\github\hexo\node_modules\bluebird\js\release\util.js:16:23) at MappingPromiseArray._promiseFulfilled (E:\github\hexo\node_modules\bluebird\js\release\map.js:61:38) at MappingPromiseArray.PromiseArray._iterate (E:\github\hexo\node_modules\bluebird\js\release\promise_array.js:113:31) at MappingPromiseArray.init (E:\github\hexo\node_modules\bluebird\js\release\promise_array.js:77:10) at MappingPromiseArray._asyncInit (E:\github\hexo\node_modules\bluebird\js\release\map.js:30:10) at Async._drainQueue (E:\github\hexo\node_modules\bluebird\js\release\async.js:138:12) at Async._drainQueues (E:\github\hexo\node_modules\bluebird\js\release\async.js:143:10) at Immediate.Async.drainQueues (E:\github\hexo\node_modules\bluebird\js\release\async.js:17:14) at runCallback (timers.js:649:20) at tryOnImmediate (timers.js:622:5) at processImmediate [as _immediateCallback] (timers.js:594:5) FATAL Cannot read property 'count' of undefined TypeError: Cannot read property 'count' of undefined at Hexo.module.exports (E:\github\hexo\node_modules\hexo-baidu-url-submit\lib\generator.js:4:40) at Hexo.tryCatcher (E:\github\hexo\node_modules\bluebird\js\release\util.js:16:23) at Hexo. (E:\github\hexo\node_modules\bluebird\js\release\method.js:15:34) at E:\github\hexo\node_modules\hexo\lib\hexo\index.js:337:24 at tryCatcher (E:\github\hexo\node_modules\bluebird\js\release\util.js:16:23) at MappingPromiseArray._promiseFulfilled (E:\github\hexo\node_modules\bluebird\js\release\map.js:61:38) at MappingPromiseArray.PromiseArray._iterate (E:\github\hexo\node_modules\bluebird\js\release\promise_array.js:113:31) at MappingPromiseArray.init (E:\github\hexo\node_modules\bluebird\js\release\promise_array.js:77:10) at MappingPromiseArray._asyncInit (E:\github\hexo\node_modules\bluebird\js\release\map.js:30:10) at Async._drainQueue (E:\github\hexo\node_modules\bluebird\js\release\async.js:138:12) at Async._drainQueues (E:\github\hexo\node_modules\bluebird\js\release\async.js:143:10) at Immediate.Async.drainQueues (E:\github\hexo\node_modules\bluebird\js\release\async.js:17:14) at runCallback (timers.js:649:20) at tryOnImmediate (timers.js:622:5) at processImmediate [as _immediateCallback] (timers.js:594:5)
解决方案:
1 2 3
npm remove hexo-baidu-url-submit hexo clean hexo g