add error on no root dir
1.2.0