Yarn install inside of jest folder fail
See original GitHub issueπ₯ Regression Report
yarn fail
jest$yarn
β€ YN0000: β Resolution step
β€ YN0000: β Completed in 1.11s
β€ YN0000: β Fetch step
β€ YN0013: β hermes-engine@npm:0.4.1 can't be found in the cache and will be fetched from the remote registry
β€ YN0013: β jsc-android@npm:245459.0.0 can't be found in the cache and will be fetched from the remote registry
β€ YN0013: β react-native@npm:0.62.0 can't be found in the cache and will be fetched from the remote registry
β€ YN0001: β RequestError: Timeout awaiting 'request' for 60000ms
at ClientRequest.<anonymous> (/home/bogdandor/Documents/jest/.yarn/releases/yarn-sources.cjs:23:51738)
at Object.onceWrapper (events.js:422:26)
at ClientRequest.emit (events.js:327:22)
at ClientRequest.e.emit (/home/bogdandor/Documents/jest/.yarn/releases/yarn-sources.cjs:2:468370)
at TLSSocket.socketErrorListener (_http_client.js:426:9)
at TLSSocket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
at Timeout.f [as _onTimeout] (/home/bogdandor/Documents/jest/.yarn/releases/yarn-sources.cjs:23:58806)
at listOnTimeout (internal/timers.js:551:17)
at processTimers (internal/timers.js:492:7)
β€ YN0001: β RequestError: Timeout awaiting 'request' for 60000ms
at ClientRequest.<anonymous> (/home/bogdandor/Documents/jest/.yarn/releases/yarn-sources.cjs:23:51738)
at Object.onceWrapper (events.js:422:26)
at ClientRequest.emit (events.js:327:22)
at ClientRequest.e.emit (/home/bogdandor/Documents/jest/.yarn/releases/yarn-sources.cjs:2:468370)
at TLSSocket.socketErrorListener (_http_client.js:426:9)
at TLSSocket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
at runNextTicks (internal/process/task_queues.js:66:3)
at Timeout.f [as _onTimeout] (/home/bogdandor/Documents/jest/.yarn/releases/yarn-sources.cjs:23:58806)
at listOnTimeout (internal/timers.js:551:17)
at processTimers (internal/timers.js:492:7)
β€ YN0001: β RequestError: Timeout awaiting 'request' for 60000ms
at ClientRequest.<anonymous> (/home/bogdandor/Documents/jest/.yarn/releases/yarn-sources.cjs:23:51738)
at Object.onceWrapper (events.js:422:26)
at ClientRequest.emit (events.js:327:22)
at ClientRequest.e.emit (/home/bogdandor/Documents/jest/.yarn/releases/yarn-sources.cjs:2:468370)
at TLSSocket.socketErrorListener (_http_client.js:426:9)
at TLSSocket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
at Timeout.f [as _onTimeout] (/home/bogdandor/Documents/jest/.yarn/releases/yarn-sources.cjs:23:58806)
at listOnTimeout (internal/timers.js:551:17)
at processTimers (internal/timers.js:492:7)
β€ YN0000: β Completed in 4.15m
β€ YN0000: Failed with errors in 4.16m
Last working version
Worked up to version: commit eb9c5681d
Stopped working in version: commit 7946ba637
To Reproduce
Open terminal and type:
clone https://github.com/facebook/jest.git
cd jest
yarn
Expected behavior
Yarn install should run without errors.
Run npx envinfo --preset jest
Paste the results here:
System:
OS: Linux 5.4 Ubuntu 20.04 LTS (Focal Fossa)
CPU: (4) x64 Intel(R) Core(TM) i3-2370M CPU @ 2.40GHz
Binaries:
Node: 12.18.2 - ~/.nvm/versions/node/v12.18.2/bin/node
Yarn: 2.0.0-rc.36.git.20200706.0d45e383 - ~/.nvm/versions/node/v12.18.2/bin/yarn
npm: 6.14.5 - ~/.nvm/versions/node/v12.18.2/bin/npm
npmPackages:
jest: workspace:packages/jest => 26.1.0
If delete folder examples/react-native it works correct.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
reactjs - Jest-dom unable to find module inside of its folder in ...
Try installing it separately npm install -D jest-dom # or yarn yarn add --dev jest-dom.
Read more >jest | Yarn - Package Manager
Instant Feedback: Failed tests run first. Fast interactive mode can switch between running all tests or only test files related to changed files....
Read more >A guide through The Wild Wild West of setting up a mono repo ...
This is were the fun starts! Setting up a mono repo from scratch. We will be using TypeScript, Yarn workspaces, Lerna, and Jest....
Read more >Jest | IntelliJ IDEA Documentation - JetBrains
You can run and debug tests with Jest right in IntelliJ IDEA. ... You can also see whether a test has passed or...
Read more >Yarn install fails - Feedback & Bug Reports - CircleCI Discuss
bin/bash -eo pipefail ls -a && yarn install --frozen-lockfile --cache-folder ~/.cache/yarn . .gitignore .vscode nodejs.d.ts .. β¦
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After patch https://github.com/yarnpkg/berry/pull/1583 it works without errors.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.