Closed talamaska closed 11 years ago
The issue with this is that npm doesn't have the latest version of express3-handlebars published. Clone the gitgub repo in your node_modules dir to get the newest changes. Make sure to run npm install from within express3-handlebars folder. The package needs to be republished to npm!
ok, i'll try
Or just point to the this GitHub repo in your package.json
.
I have move the middleware as separate file. I thought it is the problem bu have cloned your repository and i ran the advanced example, i have tried my changes direktly , everything seem too work then i have move the advance example as separate folder/project installed npm stuff. tried to run - error
inspected the code of the module
on line 233 dirPath = path.resolve(dirPath);
if i console log here console.log(dirPath);
dirPath is an array [ 'shared/templates/', 'views/partials/' ]
please help