Error occurred while installing tools or dependencies
All my Workers Builds (multiple workers in a monorepo with separate builds) are failing with this error without further details. I saw some resolved a similar issue by disabling the build cache, but that hasn't helped.
Is there any way to get further details? Here's a complete build log:
I notice it fails very quickly (~1s). Previous, successful builds took about a minute for the "Installing tools and dependencies" step.
3 Replies
I can't see anything build or dependency-related that was updated between the successful and failing builds. Leads me to believe something changed in the Workers Build environment.
Will probably move to GitHub Action, was just hoping for an easy fix.
@Kris Cloudflare's lightweight V8 edge native will often come to blows with the bloated nodejs. You may need alternative configurations. If it's a simple project consider html, css and vanilla javascript. If you're lazy like me, start with deploying one of cloudflare's templates, then add your edits.
Yes, that's likely the issue as the monorepo is now getting quite large. Migrated to GitHub Actions and now everything is smooth again.