hexo icon indicating copy to clipboard operation
hexo copied to clipboard

更新hexo后无法运行

Open meowtech opened this issue 12 years ago • 5 comments

代码如下

hexo s --debug
[debug] 09:24:12.294 Config file loaded from /home/jeffrey/blog/_config.yml
[debug] 09:24:12.311 Version info checked successfully
[debug] 09:24:12.393 Processed: draft.md (7ms)
[debug] 09:24:12.393 Processed: link.md (8ms)
[debug] 09:24:12.395 Processed: page.md (10ms)
[debug] 09:24:12.395 Processed: diary.md (10ms)
[debug] 09:24:12.396 Processed: photo.md (10ms)
[debug] 09:24:12.396 Processed: post.md (10ms)
[debug] 09:24:12.396 Processed: video.md (10ms)
[debug] 09:24:12.530 Plugin loaded successfully: hexo-generator-feed
[debug] 09:24:12.554 Plugin loaded successfully: hexo-generator-sitemap
[debug] 09:24:13.861 Plugin loaded successfully: hexo-migrator-wordpress
[debug] 09:24:13.951 Plugin loaded successfully: hexo-renderer-ejs
[debug] 09:24:14.895 Plugin loaded successfully: hexo-renderer-jade
[debug] 09:24:14.995 Plugin loaded successfully: hexo-renderer-less
[debug] 09:24:15.110 Plugin loaded successfully: hexo-renderer-marked
[debug] 09:24:15.748 Plugin loaded successfully: hexo-renderer-stylus
[debug] 09:24:15.792 Plugin loaded successfully: hexo-tag-bootstrap
[debug] 09:24:15.827 Script load successfully: fancybox.js
[error] 09:24:15.828 TypeError: Cannot read property 'format' of null
TypeError: Cannot read property 'format' of null
    at morgan (/usr/local/lib/node_modules/hexo/node_modules/morgan/index.js:36:21)
    at module.exports (/usr/local/lib/node_modules/hexo/lib/plugins/filter/middlewares/logger.js:11:13)
    at /usr/local/lib/node_modules/hexo/lib/extend/filter.js:141:25
    at b (domain.js:183:18)
    at Domain.run (domain.js:123:23)
    at /usr/local/lib/node_modules/hexo/lib/extend/filter.js:140:9
    at Array.forEach (native)
    at Filter.apply (/usr/local/lib/node_modules/hexo/lib/extend/filter.js:137:10)
    at module.exports (/usr/local/lib/node_modules/hexo/lib/plugins/console/server.js:26:22)
    at /usr/local/lib/node_modules/hexo/lib/core/index.js:227:7


求解救

meowtech avatar Jul 31 '14 01:07 meowtech

相似的错误

error] 13:59:03.274 TypeError: Cannot read property 'format' of null
TypeError: Cannot read property 'format' of null
    at morgan (/usr/local/lib/node_modules/hexo/node_modules/morgan/index.js:36:21)
    at module.exports (/usr/local/lib/node_modules/hexo/lib/plugins/filter/middlewares/logger.js:11:13)
    at /usr/local/lib/node_modules/hexo/lib/extend/filter.js:141:25
    at b (domain.js:183:18)
    at Domain.run (domain.js:123:23)
    at /usr/local/lib/node_modules/hexo/lib/extend/filter.js:140:9
    at Array.forEach (native)
    at Filter.apply (/usr/local/lib/node_modules/hexo/lib/extend/filter.js:137:10)
    at module.exports (/usr/local/lib/node_modules/hexo/lib/plugins/console/server.js:26:22)
    at /usr/local/lib/node_modules/hexo/lib/core/index.js:227:7

版本信息如下:

hexo: 2.8.1
os: Darwin 13.3.0 darwin x64
http_parser: 1.0
node: 0.10.28
v8: 3.14.5.9
ares: 1.9.0-DEV
uv: 0.10.27
zlib: 1.2.3
modules: 11
openssl: 1.0.1g

htynkn avatar Jul 31 '14 08:07 htynkn

[error] TypeError: Object #<Object> has no method 'format'
TypeError: Object #<Object> has no method 'format'
    at module.exports (c:\Users\zong7_000\AppData\Roaming\npm\node_modules\hexo\
lib\plugins\filter\post_permalink.js:15:21)
    at c:\Users\zong7_000\AppData\Roaming\npm\node_modules\hexo\lib\extend\filte
r.js:141:25
    at b (domain.js:183:18)
    at Domain.run (domain.js:123:23)
    at c:\Users\zong7_000\AppData\Roaming\npm\node_modules\hexo\lib\extend\filte
r.js:140:9
    at Array.forEach (native)
    at Filter.apply (c:\Users\zong7_000\AppData\Roaming\npm\node_modules\hexo\li
b\extend\filter.js:137:10)
    at Object.Post.virtual.src (c:\Users\zong7_000\AppData\Roaming\npm\node_modu
les\hexo\lib\model\schema.js:39:29)
    at Model._applyGetter (c:\Users\zong7_000\AppData\Roaming\npm\node_modules\h
exo\node_modules\warehouse\lib\model.js:240:24)
    at Model.get (c:\Users\zong7_000\AppData\Roaming\npm\node_modules\hexo\node_
modules\warehouse\lib\model.js:297:19)

类似错误

同样是2.8.1

reee avatar Jul 31 '14 08:07 reee

Duplicated #746

tommy351 avatar Jul 31 '14 09:07 tommy351

Got solution here : #722

meowtech avatar Aug 01 '14 00:08 meowtech

时区设置问题

cs-sun avatar Aug 12 '17 16:08 cs-sun