Should be able to run npm run test or ng test after initializing a new nx workspace
Executing npm run test in a new workspace throws an error.
Can't find a root directory while resolving a config file path.
Provided path to resolve: C:\C\dev\sampleorg\apps\sampleorg\jest.config.js
cwd: C:\dev\sampleorg
Please provide detailed steps for reproducing the issue.
create-nx-workspace sampleorgcd sampleorgnpm run testI have to same issue. If you take a close look at the path then you can see that it tries to look for "C:C" which is not correct.
Workaround is to downgrade to @nrwl/[email protected].
Can reproduce, created with npm as nx-workspace.
Downgrading @nrwl/builders to 7.7.2 (before 7.8.0) works. Thanks @jantilburgh.
Thanks for submitting the issue. It has been fixed here: https://github.com/nrwl/nx/pull/1245
Most helpful comment
Workaround is to downgrade to @nrwl/[email protected].