I’m trying to install a new Sage Theme and Yarn is taking 20 minutes to build at Yarn command. I’ve tested in two different environments, macOS 13.5 and Windows 11 and the same occur. I’ve changed the Yarn version and Node version with no success.
I’m used to build frontend using Sage on my local desktop and this is the first time that I see Yarn taking too long to build.
Here the build Completed in 25m 35s:
success: installed and set node@20.5.1 (with npm@9.8.0) as default
192:~ viviancruz$ cd /Users/viviancruz/Library/Mobile\ Documents/com\~apple\~CloudDocs/Clientes/Acessebank/Sitio/voz-acesse
192:voz-acesse viviancruz$ yarn
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @roots/bud-babel@npm:6.7.3 [4c754] doesn't provide webpack (p681a6), requested by babel-loader
➤ YN0002: │ @roots/bud-entrypoints@npm:6.7.3 [f2529] doesn't provide webpack (p0377a), requested by @roots/entrypoints-webpack-plugin
➤ YN0002: │ @roots/bud-postcss@npm:6.7.3 [4c754] doesn't provide webpack (p71895), requested by postcss-loader
➤ YN0002: │ @roots/bud-react@npm:6.7.3 [563c6] doesn't provide webpack (p0ecf6), requested by @pmmmwh/react-refresh-webpack-plugin
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 264ms
➤ YN0000: ┌ Link step
➤ YN0007: │ @roots/bud@npm:6.7.3 [ed0cd] must be built because it never has been before or the last one failed
➤ YN0008: │ core-js-pure@npm:3.26.1 must be rebuilt because its dependency tree changed
➤ YN0000: └ Completed in 25m 35s
➤ YN0000: Done with warnings in 25m 36s
node@20.5.1 (with npm@9.8.0) as default
Yarn 3.6.2
Yarn remove and other commands are either too long which makes it impossible to work on my project like this.
I did research about any problem like this on Yarn but only at very old versions of Yarn.