Everytime the lib tries to get the relative main root so I had to change final configuration to work with. My tsconfig.json  Configuration assign 