roycehaynes / rollsroyce

A minimal Ghost theme
MIT License
89 stars 25 forks source link

Error: The partial posts could not be found #3

Closed g3d closed 10 years ago

g3d commented 10 years ago

Got that error with ghost v0.4.0 (not tried on v0.3.3). Node v0.10.20

/home/ghost/releases/ghost-0.4.0/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/runtime.js:135
    throw new Exception("The partial " + name + " could not be found");
          ^
Error: The partial posts could not be found
    at new Error (<anonymous>)
    at Error.Exception (/home/ghost/releases/ghost-0.4.0/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/exception.js:6:41)
    at Object.invokePartial (/home/ghost/releases/ghost-0.4.0/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/runtime.js:135:11)
    at Object.invokePartialWrapper [as invokePartial] (/home/ghost/releases/ghost-0.4.0/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/runtime.js:38:34)
    at Object.eval (eval at <anonymous> (/home/ghost/releases/ghost-0.4.0/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:179:23), <anonymous>:19:17)
    at /home/ghost/releases/ghost-0.4.0/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/runtime.js:92:31
    at /home/ghost/releases/ghost-0.4.0/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:467:21
    at render (/home/ghost/releases/ghost-0.4.0/node_modules/express-hbs/lib/hbs.js:268:15)
    at renderIt (/home/ghost/releases/ghost-0.4.0/node_modules/express-hbs/lib/hbs.js:323:18)
    at /home/ghost/releases/ghost-0.4.0/node_modules/express-hbs/lib/hbs.js:329:11
roycehaynes commented 10 years ago

@g3d - hold tight. I'm in the middle of the ocean (literally). I'll test theme out in v0.4 when I'm back Friday.

roycehaynes commented 10 years ago

@g3d - I got rid of partials all together as a temporary fix.