Howdy! Long story short: preview builds with yarn workspaces have started failing since ~ 2 days ago.
Here’s a demo build that is failing: Netlify App
Re-running the same build without cache makes it pass. Demo: Netlify App
The only difference between a few days ago and today is that yarn workspaces
are no longer being recognized. Here’s a successful deployment a few days ago: Netlify App
So to sum it up…
Before:
7:27:31 PM: yarn workspaces detected
7:27:31 PM: Started restoring workspace packages/desktop-client node modules
7:27:31 PM: Finished restoring workspace packages/desktop-client node modules
7:27:31 PM: Started restoring workspace packages/import-ynab4 node modules
7:27:31 PM: Finished restoring workspace packages/import-ynab4 node modules
7:27:31 PM: Started restoring workspace packages/import-ynab5 node modules
7:27:31 PM: Finished restoring workspace packages/import-ynab5 node modules
7:27:31 PM: Started restoring workspace packages/loot-core node modules
7:27:31 PM: Finished restoring workspace packages/loot-core node modules
7:27:31 PM: Started restoring workspace root node modules
7:27:31 PM: Finished restoring workspace root node modules
After:
8:27:56 PM: No yarn workspaces detected
8:27:56 PM: Started restoring cached node modules
8:27:56 PM: Finished restoring cached node modules
Nothing has changed on our end that could have influenced this.