Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Transforming files does not work with yarn workspaces #823
Issue was the fact that I was using yarn workspaces and some of the packages was required from the root dir's node_modules of the repository and was used in a sub directory/workspace.
Issue was caused at https://github.com/hapijs/lab/blob/master/lib/transform.js#L63. Replacing it with path.relative solved the problem for me.
I'd be happy to provide PR fixing this issue.