'jest hangs indefinitely with yarn pnp
Just getting started with yarn v3 but hit a bit of a problem with jest not running they just hang indefinitely with no output at all.
Recreation steps
yarn set version berry
yarn init
yarn add -D jest
yarn jest
// package.json
{
"name": "yarn-again",
"packageManager": "[email protected]",
"devDependencies": {
"jest": "^28.1.0"
}
}
Anyone seen this before?
Solution 1:[1]
Bump node to 16.14.2 or upper or try to run yarn jest --runInBand and check errors
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Vitalii Kolodieiev |
