我正在使用带有express.js的EJS模板引擎,并且我想使用视图助手。我发现这个在GitHub上:https://github.com/tanema/express-helpers,但是当我尝试使用它,我得到这个错误: TypeError: object is not a function
at Object.CALL_NON_FUNCTION (native)
at Object. (/
这里是我完整的错误: Error: Cannot find module 'ejs'
at Function._resolveFilename (module.js:317:11)
at Function._load (module.js:262:25)
at require (module.js:346:19)
at View.templateEngine