if I render with view index and file index.dust does not exist in templates, this line cause wrong error:
search.push([name, path.join(path.basename(name), 'index' + ext)]);
[ERROR] { [Error: ENOTDIR: not a directory, stat 'www-server/public/templates/index.dust/index.dust']
errno: -20,
code: 'ENOTDIR',
syscall: 'stat',
path: 'www-server/public/templates/index.dust/index.dust' }
Tue, 22 Mar 2016 15:46:22 GMT uncaughtException
Error
at www-server/node_modules/makara/node_modules/engine-munger/index.js:135:17
at www-server/node_modules/makara/node_modules/engine-munger/index.js:156:24
at www-server/node_modules/makara/node_modules/engine-munger/index.js:96:21
at www-server/node_modules/makara/node_modules/engine-munger/index.js:195:13
at FSReqWrap.oncomplete (fs.js:82:15)
if view is test then the Error is correct:
[ERROR] [VError: Failed to lookup view "layouts/default/hello.dust" in directory "www-server/public/templates"]