Skip to content

forever building fresh packages :( #5268

@DefinitlyEvil

Description

@DefinitlyEvil

What is the current behavior?
it stuck at:

Building fresh packages...
. electron
. waiting...
. waiting...
. waiting...
. waiting...
. waiting...

If the current behavior is a bug, please provide the steps to reproduce.
yarn global add electron@1.7.9

What is the expected behavior?
it should install I think

Please mention your node.js, yarn and operating system version.
nodejs v9.4.0 on MacOS

Activity

ghost assigned on Jan 23, 2018
manooog

manooog commented on Jan 24, 2018

@manooog

i have the same problem, yarn just stuck in this status without any logs~~~

DefinitlyEvil

DefinitlyEvil commented on Jan 25, 2018

@DefinitlyEvil
Author

I tried without global option and it worked, then it also worked for global mode. Anyways I am new to yarn....

danielhuang

danielhuang commented on Jan 29, 2018

@danielhuang

When you install electron, it has to download a copy of chromium, that's what is happening when "building"

DefinitlyEvil

DefinitlyEvil commented on Jan 30, 2018

@DefinitlyEvil
Author

@GloriousYellow ah then i think it was caused by my bad Internet lmfao.

garbinmarcelo

garbinmarcelo commented on Apr 28, 2018

@garbinmarcelo

same error... any news?

image

BYK

BYK commented on May 3, 2018

@BYK
Member

This should be fixed with Yarn 1.6.0. Can someone verify?

BYK

BYK commented on May 3, 2018

@BYK
Member

Oh wow, @marcelogarbin was using the latest. Sorry.

BYK

BYK commented on May 3, 2018

@BYK
Member

Looks like the fix for this isn't released yet. Anyone willing to try the nightly build to see if it is fixed on master(it should)? - http://nightly.yarnpkg.com/

blackandcode

blackandcode commented on May 28, 2018

@blackandcode

Just tried the nightly and it works with it!

milesrichardson

milesrichardson commented on Jun 7, 2018

@milesrichardson

As an additional datapoint, I was having this problem on 1.3.0 and upgrading to latest stable (1.7.0) solved it.

BYK

BYK commented on Jun 7, 2018

@BYK
Member

Thanks for confirming @milesrichardson!

inturbidus

inturbidus commented on Jun 14, 2018

@inturbidus

I am having this issue with 1.7.0 stuck on "puppeteer"

21 remaining items

asapzacy

asapzacy commented on Mar 12, 2019

@asapzacy

Can confirm as well ~

node: 8.11.4
yarn: 1.13.0
puppeteer: 1.6.2

bruceCzK

bruceCzK commented on Mar 27, 2019

@bruceCzK

Same here with node-sass
v1.15.2

teal-front

teal-front commented on Apr 8, 2019

@teal-front

Same here with node-sass
v1.15.2

same as me. (on centos ), but some times, try and try, then ok.

zee2E

zee2E commented on Apr 28, 2019

@zee2E

if you in GFW
edit .yarnrc and insert line

ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"

kikit0106

kikit0106 commented on May 23, 2019

@kikit0106

I have the same issue when try yarn install on docker (yarn 1.16.*)

rlopzc

rlopzc commented on May 26, 2019

@rlopzc

Same for me, just updated to MacOS

Yarn version: 1.16.0
MacOS: 10.14.5 (18F132)

sujianqingfeng

sujianqingfeng commented on Jun 1, 2019

@sujianqingfeng

.yarnnc file

registry "https://registry.npm.taobao.org"

sass_binary_site "https://npm.taobao.org/mirrors/node-sass/"
phantomjs_cdnurl "http://cnpmjs.org/downloads"
electron_mirror "https://npm.taobao.org/mirrors/electron/"
sqlite3_binary_host_mirror "https://foxgis.oss-cn-shanghai.aliyuncs.com/"
profiler_binary_host_mirror "https://npm.taobao.org/mirrors/node-inspector/"
chromedriver_cdnurl "https://cdn.npm.taobao.org/dist/chromedriver"
lamvh

lamvh commented on Jun 12, 2019

@lamvh

When you install electron, it has to download a copy of chromium, that's what is happening when "building"

Check network, if it is downloading, waiting to finish and download packages you need.

LeonSkrilec

LeonSkrilec commented on Jun 18, 2019

@LeonSkrilec

I solved it by switching to different network (hotspot). I guess our office network firewall had some restrictions.

AzySir

AzySir commented on Jun 20, 2019

@AzySir

Was there any other solutions here? I'm having the same issue

wuuhw

wuuhw commented on Jun 28, 2019

@wuuhw

i have same issue, i'ill run gatsby new project, select yarn install all packages, but waste a long time here, no error、no log, i try again, same question

silasabbott

silasabbott commented on Jun 28, 2019

@silasabbott

I'm having the same issue, it hangs on "Building fresh packages..."
This happens for any packages on any network when internet works for other applications just fine.

yarn 1.17.0
node 10.16.0
macOS 10.14.5 (Mojave)

BYK

BYK commented on Jun 28, 2019

@BYK
Member

I am going to lock this issue as I don't see any useful comments coming in and it feels more like a support forum instead of an open source project issue :)

If you are still having this issue, please try to narrow it down a bit, collect some information for reliable reproduction and file a new issue with those specific. Or even better, do all this and then fix the issue and open a PR so we can share your awesome work with the community ;)

locked as resolved and limited conversation to collaborators on Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @BYK@kevindra@aztack@milesrichardson@inturbidus

      Issue actions

        forever building fresh packages :( · Issue #5268 · yarnpkg/yarn