Yarn: Building fresh packages... canvas,Execution stuck here

Created on 10 Jul 2019  Â·  4Comments  Â·  Source: yarnpkg/yarn

Do you want to request a feature or report a bug?

What is the current behavior?
mac os 10.14.5
node 12.6.0
yarn 1.16.0
If the current behavior is a bug, please provide the steps to reproduce.

[4/4] 🔨 Building fresh packages...
[-/7] â „ waiting...
[2/7] â „ canvas
[3/7] â „ fsevents
[-/7] â „ waiting...
[-/7] â „ waiting...

Execution stuck here

What is the expected behavior?
Normal execution
Please mention your node.js, yarn and operating system version.

Most helpful comment

same for me

[4/4] 🔨  Building fresh packages...
[1/12] â ‚ canvas
[12/12] â ‚ node-sass
[-/12] â ‚ waiting...
[-/12] â ‚ waiting...
[-/12] â ‚ waiting...

Node v8.12.0 .
Mac OS High Sierra v10.13.6 (17G8030) .
Yarn v1.17.0 .

All 4 comments

i have same problem

I just had this problem aswell. I thought it was stuck, but it just takes unreasonably long. My install finished after 15 minutes after being in that state.

same for me

[4/4] 🔨  Building fresh packages...
[1/12] â ‚ canvas
[12/12] â ‚ node-sass
[-/12] â ‚ waiting...
[-/12] â ‚ waiting...
[-/12] â ‚ waiting...

Node v8.12.0 .
Mac OS High Sierra v10.13.6 (17G8030) .
Yarn v1.17.0 .

If you're behind the GFW, either turn on global proxy/TUN mode (if your software support this feature), or you can add a taobao mirror.

Your packages probably need a copy of chromium, and downloading it requires access to google services which are clearly blocked by the GFW.

Check #5268

Was this page helpful?
0 / 5 - 0 ratings