express-handlebars icon indicating copy to clipboard operation
express-handlebars copied to clipboard

exphbs is not a function

Open habfem opened this issue 3 years ago • 3 comments

TypeError: exphbs is not a function at Object. (C:\Users\habee\3D Objects\NODE\EXPRESS_CRASH\index.js:13:26) at Module._compile (internal/modules/cjs/loader.js:1072:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10) at Module.load (internal/modules/cjs/loader.js:937:32) at Module.load (internal/modules/cjs/loader.js:937:32) at Function.Module._load (internal/modules/cjs/loader.js:778:12) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) at internal/main/run_main_module.js:17:47 [nodemon] app crashed - waiting for file changes before starting...

Is anyone else getting this type of error

habfem avatar Mar 20 '22 12:03 habfem

All new development of express-handlebars is done on a new repo express-handlebars/express-handlebars. Please create an issue there and add more info like the version of express-handlebars and node and some example code that produces the error.

UziTech avatar Mar 20 '22 15:03 UziTech

Thanks. That was really helpful

habfem avatar Mar 23 '22 17:03 habfem

.engine pretty much solves my problem

habfem avatar Mar 24 '22 13:03 habfem