Could not resolve "/opt/buildhome/repo/.vercel/output/static/_worker.js/index.js"

Hi Guys, First off: - Don't have a pages .dev example as the build stopped working and I recreated the pages worker from scratch to try and solve the issue (it didn't) - Don't have one - Account ID: 5c4da62b9e5e237585dd60df561f7dcc - Error: Not sure if you can help me. I had a working build (attached log) & all of a sudden rerunning the build I get the following: Found _worker.js in output directory. Uploading. 14:59:31.404 ✘ [ERROR] 1 error(s) and 0 warning(s) when compiling Worker. 14:59:31.405
14:59:31.405
14:59:31.408
14:59:31.410 ✘ [ERROR] Could not resolve "/opt/buildhome/repo/.vercel/output/static/_worker.js/index.js" 14:59:31.410
14:59:31.410
14:59:31.412 ✘ [ERROR] Build failed with 1 error: 14:59:31.412
14:59:31.412 error: Could not resolve "/opt/buildhome/repo/.vercel/output/static/_worker.js/index.js" 14:59:31.412
14:59:31.412
14:59:31.424 Failed building Pages Functions. 14:59:32.273 Failed: an internal error occurred Attached please find screen shots and logs. Thank you !
2 Replies
James
James10mo ago
Hey there! Sorry for the issues. Accessing deployment logs requires access the community doesn’t have unfortunately. Let me ping a few people who should be able to look this up and get back to you. cc @natalier_ @nevika @Vero 🐙 Can you please share your deployment ID so that someone can help you better? ?pages-deployment-id
Flare
Flare10mo ago
The Pages deployment 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/pages/view/PROJECT/DEPLOYMENT_ID where the deployment ID looks something like a398d794-7322-4c97-96d9-40b5140a8d9b). This ID can help troubleshoot some issues with Pages builds so if you have a failing build make sure you grab that ID for the Pages team to use.