-
Notifications
You must be signed in to change notification settings - Fork 193
Yarn arguments #319
Comments
@ekfuhrmann This isn't related.
|
@arcanis My mistake! |
Ping someone? @bcomnes maybe? 😄 |
@bcomnes has sadly found a new gig. Sorry for the delay, we are trying to get our internal resources marshaled to be able to properly respond to requests on the image. |
No worry 🙂 |
The workaround for packages not being cached is setting the environment variable build-image/run-build-functions.sh Line 10 in 5159a4b
build-image/run-build-functions.sh Line 113 in 5159a4b
|
Looks like @ylemkimon has fixed this issue in #465. @rybit do you think it's likely to be merged? |
Opening an issue here as requested in the support email (I initially asked on Twitter what was the best PoC, and was redirected to the support) 🙂
Yarn 2 doesn't support the
--cache-folder
command-line option (it always was problematic, because users had to specify it at every single command). This causes a crash on Netlify when using Yarn together with the v2 (currently flagged experimental, fortunately).Additionally, starting from Yarn 2 we no longer have different logic between the Yarn cache and the offline mirrors. The directory pointed by the
cache-folder
key will be populated with archives, and as such it becomes possible (and recommended in various situations) to add the cache to the repository (amongst other things, it enables Zero-installs). However, this doesn't work if Netlify configures a different cache location than the default one.We're currently hitting this issue with the Yarn 2 Netlify instance (example), but it's likely your customers would encounter it as well once we start publishing formal releases. I'd be happy to help find out a solution (I lead Yarn's development) 🙂
The text was updated successfully, but these errors were encountered: