Whenever I run the command passing `-template-dir` it gives a error:  --- This error doesn't occur when I run without `-template-dir`: 