I think we should be utilizing `path.join` here instead of adding the separators directly.  Different platforms have different path delimiters.

    userErrorTemplatePath = path.resolve(path.join(themePath, activeTheme, 'error.hbs'));

This would probably go for the `path.resolve` usage at the top as well.