报错前执行的清除操作
$ hexo clean
报错内容
update link as:-->/.com//image-20200302204238083.png
update link as:-->/.com//%E8%87%AA%E5%8A%A8%E6%B3%A8%E5%86%8C02.png
update link as:-->/.com//image-20200302204238083.png
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html
TypeError: Cannot read property 'removeAttr' of undefined
at Node.<anonymous> (F:MyBlog-onelpc hemesButterflyscriptspost-lazyload.js:17:31)
at initialize.exports.each (F:MyBlog-onelpc
ode_modulescheeriolibapi raversing.js:300:24)
at Hexo.<anonymous> (F:MyBlog-onelpc hemesButterflyscriptspost-lazyload.js:15:10)
at Hexo.tryCatcher (F:MyBlog-onelpc
ode_modulesluebirdjs
eleaseutil.js:16:23)
at Hexo.<anonymous> (F:MyBlog-onelpc
ode_modulesluebirdjs
eleasemethod.js:15:34)
at F:MyBlog-onelpc
ode_moduleshexolibextendfilter.js:62:52
at tryCatcher (F:MyBlog-onelpc
ode_modulesluebirdjs
eleaseutil.js:16:23)
at Object.gotValue (F:MyBlog-onelpc
ode_modulesluebirdjs
elease
educe.js:166:18)
at Object.gotAccum (F:MyBlog-onelpc
ode_modulesluebirdjs
elease
educe.js:155:25)
at Object.tryCatcher (F:MyBlog-onelpc
ode_modulesluebirdjs
eleaseutil.js:16:23)
at Promise._settlePromiseFromHandler (F:MyBlog-onelpc
ode_modulesluebirdjs
eleasepromise.js:547:31)
at Promise._settlePromise (F:MyBlog-onelpc
ode_modulesluebirdjs
eleasepromise.js:604:18)
at Promise._settlePromise0 (F:MyBlog-onelpc
ode_modulesluebirdjs
eleasepromise.js:649:10)
at Promise._settlePromises (F:MyBlog-onelpc
ode_modulesluebirdjs
eleasepromise.js:729:18)
at _drainQueueStep (F:MyBlog-onelpc
ode_modulesluebirdjs
eleaseasync.js:93:12)
at _drainQueue (F:MyBlog-onelpc
ode_modulesluebirdjs
eleaseasync.js:86:9)
at Async._drainQueues (F:MyBlog-onelpc
ode_modulesluebirdjs
eleaseasync.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (F:MyBlog-onelpc
ode_modulesluebirdjs
eleaseasync.js:15:14)
at processImmediate (internal/timers.js:439:21)
解决方法
出现原因:因为之前的md文章中有些图片引用失效。
解决方法:重新对失效的图片引用了正确的路径。