-
Notifications
You must be signed in to change notification settings - Fork 26
TypeError: glob is not a function #68
Copy link
Copy link
Open
Description
When I run the example like this: hbs --helper ./src/template_helper/**/*.js --data src/data.json src/templates/**/*.hbs --output dist/
I get this error:
TypeError: glob is not a function
at /home/user/hsb-example/node_modules/glob-promise/lib/index.js:7:5
at new Promise (<anonymous>)
at Object.module.exports [as default] (/home/user/hsb-example/node_modules/glob-promise/lib/index.js:6:10)
at resolveModuleOrGlob$ (/home/user/hsb-example/node_modules/hbs-cli/lib/index.js:64:38)
at tryCatch (/home/user/hsb-example/node_modules/babel-runtime/regenerator/runtime.js:72:40)
at Generator.invoke [as _invoke] (/home/user/hsb-example/node_modules/babel-runtime/regenerator/runtime.js:334:22)
at Generator.prototype.<computed> [as throw] (/home/user/hsb-example/node_modules/babel-runtime/regenerator/runtime.js:105:21)
at tryCatch (/home/user/hsb-example/node_modules/babel-runtime/regenerator/runtime.js:72:40)
at invoke (/home/user/hsb-example/node_modules/babel-runtime/regenerator/runtime.js:146:20)
at /home/user/hsb-example/node_modules/babel-runtime/regenerator/runtime.js:156:13
Do you know what am I doing wrong?
I tried the example sometime ago and it worked but suddenly I started getting that error.
I any clue would be appreciated, thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels