Failed: error occurred while installing tools or dependencies
My Workers Build started failing 3 days ago. I even tried to rerun an old build that previously worked, and it fails in the same way.
I get the same error with or without using the build cache.
5 Replies
?link please link your account @jonasb
Please use the /link command to authenticate with your Cloudflare account and link it to your Discord user. This helps Cloudflare employees access your details more quickly and provide support. It also makes future support requests easier, since your account will already be linked.
and what's the build id?
?workers-build-id
The Workers build ID is a unique build identifier.
It's the UUID in the browser bar (for example, a URL would be
dash.cloudflare.com/ACCOUNT_ID/workers/services/view/WORKER/production/builds/BUILD_ID where the build ID looks something like a398d794-7322-4c97-96d9-40b5140a8d9b).
This ID can help troubleshoot some issues with Workers builds so if you have a failing build make sure you grab that ID for the team to use.Thanks! Linked my account now. Here's a build id:
e867eead-b26a-41f5-be46-bc066dfe6e8a
@Walshy finally took the time to debug this thoroughly. The problem seems to be that I specified pnpm in .tool-versions (in addition to in {"packageManager"} in package.json. Found a workaround where I removed .tool-versions.
(I'm using mise-en-place for managing tools locally and on Github Actions, so ended up putting the versions in mise.toml instead)