Closed huangyingjie closed 7 years ago
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 > object-keys@0.4.0
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).
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+
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