Use path.resolve in view lookup