Use path.resolve() to get absolute pathnames to each passed template path and template tags path.