hexo-theme-react icon indicating copy to clipboard operation
hexo-theme-react copied to clipboard

error on my server

Open jinyu8779 opened this issue 7 years ago • 5 comments

Unhandled rejection TypeError: /opt/lyd/themes/react/layout/sections/_services.jade:8 6| h3 What we offer 7| .row.big-icons-row.service-items.center

8| each service in site.data['services'] 9| +service(service) 10| Cannot read property 'length' of undefined at Object.eval (eval at exports.compile (/opt/lyd/node_modules/[email protected]@jade/lib/index.js:218:8), :1125:32) at Object.jade_interp [as blocks] (eval at exports.compile (/opt/lyd/node_modules/[email protected]@jade/lib/index.js:218:8), :1150:4) at eval (eval at exports.compile (/opt/lyd/node_modules/[email protected]@jade/lib/index.js:218:8), :5192:22) at eval (eval at exports.compile (/opt/lyd/node_modules/[email protected]@jade/lib/index.js:218:8), :5353:22) at res (/opt/lyd/node_modules/[email protected]@jade/lib/index.js:219:38) at Theme._View.View._compiled.locals [as _compiled] (/opt/lyd/node_modules/hexo/lib/theme/view.js:124:48) at Theme._View.View.View.render (/opt/lyd/node_modules/hexo/lib/theme/view.js:29:15) at route.set (/opt/lyd/node_modules/hexo/lib/hexo/index.js:386:29) at tryCatcher (/opt/lyd/node_modules/bluebird/js/release/util.js:16:23) at /opt/lyd/node_modules/bluebird/js/release/method.js:15:34 at RouteStream._read (/opt/lyd/node_modules/hexo/lib/hexo/router.js:134:3) at RouteStream.Readable.read (stream_readable.js:443:10) at resume (_stream_readable.js:823:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9)

jinyu8779 avatar Jun 01 '18 14:06 jinyu8779

I got the same error.

ERROR /Users/oliver/Documents/git/YiGu-Studio.github.io/themes/react/layout/sections/_services.jade:8
    6|         h3 What we offer
    7|         .row.big-icons-row.service-items.center
  > 8|             each service in site.data['services']
    9|                 +service(service)
    10| 

Cannot read property 'length' of undefined

WuZhuoran avatar Apr 02 '20 00:04 WuZhuoran

I got the same error.

TypeError: H:\Workspace4ASP\01 AYZR\03 Source Code\WebSite\blog\themes\react\layout\sections\_services.jade:8
    6|         h3 What we offer
    7|         .row.big-icons-row.service-items.center
  > 8|             each service in site.data['services']
    9|                 service(service)
    10| 

Cannot read property 'length' of undefined 

itrice avatar Jun 12 '20 01:06 itrice

I got the same error.

    6|         h3 What we offer
    7|         .row.big-icons-row.service-items.center
  > 8|             each service in site.data['services']
    9|                 +service(service)

LinaWwang avatar Jun 23 '20 03:06 LinaWwang

I got the same error. ERROR TypeError: C:\dtdivecenter\themes\react\layout\sections_services.pug:8 6| h3 What we offer 7| .row.big-icons-row.service-items.center

8| each service in site.data['services'] 9| +service(service) 10|

Cannot read property 'length' of undefined at Object.eval (eval at wrap (C:\dtdivecenter\node_modules\pug-runtime\wrap.js:6:10), :1828:32) at Object.eval (eval at wrap (C:\dtdivecenter\node_modules\pug-runtime\wrap.js:6:10), :1843:4) at Object.pug_interp [as blocks] (eval at wrap (C:\dtdivecenter\node_modules\pug-runtime\wrap.js:6:10), :

dtdivecenter avatar Nov 10 '21 03:11 dtdivecenter

This might be a plugin version problem, please refer to https://github.com/next-theme/hexo-theme-next/issues/66

Gullintani avatar Jan 11 '22 16:01 Gullintani