Yarn: Fetching packages hung forever.

Created on 20 Oct 2016  ยท  7Comments  ยท  Source: yarnpkg/yarn

Do you want to request a _feature_ or report a _bug_?
Report a _bug_

What is the current behavior?
Fetching packages hung forever, waiting 30min+

$ yarn install
yarn install v0.16.0
info No lockfile found.
[1/4] ๐Ÿ”  Resolving packages...
warning mapbox-gl-shaders > brfs > static-module > through2 > xtend > [email protected]:
[2/4] ๐Ÿšš  Fetching packages...
โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ 976/977

If the current behavior is a bug, please provide the steps to reproduce.
$ git clone https://github.com/mapbox/mapbox-gl-js.git && cd mapbox-gl-js
$ yarn install
What is the expected behavior?
Install success, or show the detailed blocking info, like npm install --verbose.
Please mention your node.js, yarn and operating system version.
node v4.4.1
Mac OSX EI 10.11.6

Most helpful comment

Same issue here. A WordPress theme with various Gulp packages refuses to fetch the last package for some reason. Yarn version 0.16.0, Node version 6+, npm version 3+. Running on Ubuntu 14.04.

Edit: as per #1311 comment, using yarn cache clean and then yarn install again fixed this issue for me.

All 7 comments

Same issue here. A WordPress theme with various Gulp packages refuses to fetch the last package for some reason. Yarn version 0.16.0, Node version 6+, npm version 3+. Running on Ubuntu 14.04.

Edit: as per #1311 comment, using yarn cache clean and then yarn install again fixed this issue for me.

I can confirm this behavior with the following setup:
node v6.9.1
Windows 10 1607 (build 14393.0)

hangs on:
warning electron-prebuilt > electron-download > nugget > progress-stream > through2 > xtend > [email protected]

Might thus be related to object-keys@0.4.0

Also experiencing this :(

The issue for me was resolved by switching to npm semantic versioned releases in package.json instead of using git+https urls and https://github.com/user/repo#tag.

I encountered a similar issue w/ yarn hanging. Could this issue be related to SSH key passwords? https://github.com/yarnpkg/yarn/issues/2702

I fixed the issue in #2950. There's been a missing timeout (literally one line fix).

2950 has been merged, but did not reference this issue properly. It can now be closed.

Was this page helpful?
0 / 5 - 0 ratings