Closed Tineler closed 9 years ago
@Tineler Yeah, this would need to change so that it works with Windows paths and not just Unix-style ones: https://github.com/ericf/express-handlebars/blob/master/lib/express-handlebars.js#L331-333
Seems legit. Do you mind if I fork the repo and create a pull-request after fixing it? Because I need it pretty soon. :-)
Following call:
leads to following error message:
Error: ENOENT, open D:\ZHAW\BA\IoT_Base\lib\views\layouts\D:\ZHAW\BA\IoT_Base\lib\plugins\IoT_HelloWorld\views\layouts\main.handlebars'
Seems to me, as if the path is handled relative even though it's obviously absolute.