You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
今天我重启了一下云服务器,通过hexo s可以正常启动,但是我通过浏览器访问出现了以下错误信息,求教该如何解决...
INFO Hexo is running at http://localhost:80 . Press Ctrl+C to stop.
(node:1817) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use node --trace-deprecation ... to show where the warning was created)
Unhandled rejection TypeError: /root/blog/themes/stun/layout/_layout.pug:1
Cannot read property 'enable' of undefined
at eval (eval at wrap (/root/blog/node_modules/pug-runtime/wrap.js:6:10), :337:32)
at template (eval at wrap (/root/blog/node_modules/pug-runtime/wrap.js:6:10), :6211:72)
at _View._compiled (/root/blog/node_modules/hexo/lib/theme/view.js:136:50)
at _View.render (/root/blog/node_modules/hexo/lib/theme/view.js:39:17)
at /root/blog/node_modules/hexo/lib/hexo/index.js:64:21
at tryCatcher (/root/blog/node_modules/bluebird/js/release/util.js:16:23)
at /root/blog/node_modules/bluebird/js/release/method.js:15:34
at RouteStream.read (/root/blog/node_modules/hexo/lib/hexo/router.js:47:5)
at RouteStream.Readable.read (internal/streams/readable.js:462:10)
at resume (internal/streams/readable.js:958:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
The text was updated successfully, but these errors were encountered:
今天我重启了一下云服务器,通过hexo s可以正常启动,但是我通过浏览器访问出现了以下错误信息,求教该如何解决...
INFO Hexo is running at http://localhost:80 . Press Ctrl+C to stop.
(node:1817) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use
node --trace-deprecation ...
to show where the warning was created)Unhandled rejection TypeError: /root/blog/themes/stun/layout/_layout.pug:1
Cannot read property 'enable' of undefined
at eval (eval at wrap (/root/blog/node_modules/pug-runtime/wrap.js:6:10), :337:32)
at template (eval at wrap (/root/blog/node_modules/pug-runtime/wrap.js:6:10), :6211:72)
at _View._compiled (/root/blog/node_modules/hexo/lib/theme/view.js:136:50)
at _View.render (/root/blog/node_modules/hexo/lib/theme/view.js:39:17)
at /root/blog/node_modules/hexo/lib/hexo/index.js:64:21
at tryCatcher (/root/blog/node_modules/bluebird/js/release/util.js:16:23)
at /root/blog/node_modules/bluebird/js/release/method.js:15:34
at RouteStream.read (/root/blog/node_modules/hexo/lib/hexo/router.js:47:5)
at RouteStream.Readable.read (internal/streams/readable.js:462:10)
at resume (internal/streams/readable.js:958:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
The text was updated successfully, but these errors were encountered: