Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using lookup helper to invoke partial throws an error #85

Open
TheFienix opened this issue Sep 28, 2016 · 1 comment
Open

Using lookup helper to invoke partial throws an error #85

TheFienix opened this issue Sep 28, 2016 · 1 comment

Comments

@TheFienix
Copy link

Hi, I'm using handlebar's lookup helper to resolve a partial name based on data

{{> (lookup data.footer 'template' ) }}

The partial is working but I'm getting a console error:

Panini: rendering error ocurred. { Error: The partial undefined could not be found at Object.invokePartial (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/runtime.js:266:11) at Object.invokePartialWrapper [as invokePartial] (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/runtime.js:68:39) at Object.eval (eval at createFunctionContext (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-co mpiler.js:254:23), <anonymous>:11:28) at main (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/runtime.js:173:32) at Object.ret (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/runtime.js:176:12) at Object.ret [as content] (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:525:21) at Object.invokePartialWrapper [as invokePartial] (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/runtime.js:72:46) at Object.eval (eval at createFunctionContext (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-co mpiler.js:254:23), <anonymous>:6:28) at main (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/runtime.js:173:32) at ret (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/runtime.js:176:12) at ret (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:525:21) at Object.invokePartial (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/runtime.js:268:12) at Object.invokePartialWrapper [as invokePartial] (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/runtime.js:68:39) at Object.eval (eval at createFunctionContext (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-co mpiler.js:254:23), <anonymous>:10:28) at main (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/runtime.js:173:32) at ret (/home/user/project/node_modules/panini/node_modules/handlebars/dist/cjs/handlebars/runtime.js:176:12) description: undefined, fileName: undefined, lineNumber: undefined, message: 'The partial undefined could not be found', name: 'Error', number: undefined }

@mcblum
Copy link

mcblum commented Dec 12, 2018

@TheFienix I don't suppose you ever figured this out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants