I've made a bunch of changes to my app that I didn't think had anything to do with mustache, and suddenly every single page I try to render gives this error.
The "path" argument must be one of type string, Buffer, or URL. Received type undefined
at Object.readFile (fs.js:297:3)
at read (/home/malcolm/complice/node_modules/hogan-express/hogan-express.js:32:14)
at renderPartials (/home/malcolm/complice/node_modules/hogan-express/hogan-express.js:58:7)
Aha, turns out I was still trying to include an old
partial. So my code looked something like below. It had broken when I deletedoldpage.mustacheand worked fine again when I removed theoldpageline from below.