helpers/handlebars-helpers

does not export a 'register' function, cannot import

ProfessorManhattan opened this issue · 1 comments

Hey, I'm trying to use hbs-cli with the following command:

hbs --helper handlebars-helpers test

But when I do that, I get the following error:

WARNING: /home/hawkwood/androidstudio/node_modules/handlebars-helpers/index.js does not export a 'register' function, cannot import
Error: Missing helper: "eq"

Am I doing something wrong? It works with handlebars-layouts.

Also, hbs-cli has so few downloads. Am I using a dinky package? How are the rest of you compiling with handlebars from the terminal?

Head on over to https://github.com/Budibase/handlebars-helpers as it is supported.