wuzheng228 / hexo-pro

MIT License
65 stars 4 forks source link

报错 #28

Closed ZGGzgg closed 2 months ago

ZGGzgg commented 2 months ago

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at ServerResponse.setHeader (node:_http_outgoing:659:11) at /data/data/com.termux/files/home/my-blog/node_modules/hexo-pro/index.js:104:17 at call (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:235:7) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:183:5) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at call (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:248:3) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:183:5) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:161:14) at jsonParser (/data/data/com.termux/files/home/my-blog/node_modules/body-parser/lib/types/json.js:113:7) at call (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:239:7) at next (/data/data/com.termux/files/home/my-blog/node_modules/connect/index.js:183:5)

wuzheng228 commented 2 months ago

应该不影响使用把

ZGGzgg commented 2 months ago

应该不影响使用把

执行

hexo g

报错和这个一样https://github.com/wuzheng228/hexo-pro/issues/26 还是缩进问题。