如何包含一个车把js文件到另一个?

我是新手柄诱人与Nodejs。 我想包括2个车把文件到一个。 所以经过一些Googlesearch,我尝试了这个

layout.hbs

<!DOCTYPE html> <html> <head> <title>{{title}}</title> <link rel='stylesheet' href='/stylesheets/bootstrap.css' /> <link rel='stylesheet' href='/stylesheets/base.css' /> </head> <body> {{> header}} {{{body}}} {{> footer}} </body> </html> 

heaeder.hbs

 <p>I am header</p> 

footer.hbs

 <p>I am footer</p> 

和我的文件夹结构是

views – layout.hbs – header.hbs – footer.hbs

但是这不起作用,我得到这个错误

 Error at Object.<anonymous> (C:\SVN HOME 2\YASSER\One-Bitbucket\node_modules\hbs\node_modules\handlebars\dist\cjs\handlebars\exception.js:29:23) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (C:\SVN HOME 2\YASSER\One-Bitbucket\node_modules\hbs\node_modules\handlebars\dist\cjs\handlebars\base.js:3:17) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (C:\SVN HOME 2\YASSER\One-Bitbucket\node_modules\hbs\node_modules\handlebars\dist\cjs\handlebars.runtime.js:3:12) at Module._compile (module.js:460:26) 

任何想法如何工作?