LOFTER2Hexo icon indicating copy to clipboard operation
LOFTER2Hexo copied to clipboard

LOFTER.xml文件中如果有外链的话,将抛出如下错误

Open fengzhexuan opened this issue 7 years ago • 0 comments

events.js:182 throw er; // Unhandled 'error' event ^

TypeError: Cannot read property '0' of null at /usr/local/lib/node_modules/lofter2hexo/bin/readxml.js:144:82 at Array.forEach () at _parseContent (/usr/local/lib/node_modules/lofter2hexo/bin/readxml.js:143:26) at parsearticle (/usr/local/lib/node_modules/lofter2hexo/bin/readxml.js:204:29) at /usr/local/lib/node_modules/lofter2hexo/bin/readxml.js:70:31 at Array.forEach () at Object.parsePost (/usr/local/lib/node_modules/lofter2hexo/bin/readxml.js:67:23) at /usr/local/lib/node_modules/lofter2hexo/bin/readxml.js:40:17 at /usr/local/lib/node_modules/lofter2hexo/bin/readxml.js:62:21 at Parser. (/usr/local/lib/node_modules/lofter2hexo/node_modules/xml2js/lib/xml2js.js:484:18)

fengzhexuan avatar Oct 25 '17 09:10 fengzhexuan