observablehq / framework

A static site generator for data apps, dashboards, reports, and more. Observable Framework combines JavaScript on the front-end for interactive graphics with any language on the back-end for data analysis.
https://observablehq.com/framework/
ISC License
2.58k stars 125 forks source link

Cloudflare workers hitting fatal error when building observable framework #1725

Closed jaanli closed 1 month ago

jaanli commented 1 month ago

Hi! I am using Observable Framework for my personal blog: https://github.com/jaanli/jaan.li

However, I run into this issue when using the Cloudflare deploy script:

2024-10-05T14:41:21.022074Z Cloning repository...
2024-10-05T14:41:21.713737Z From https://github.com/jaanli/jaan.li
2024-10-05T14:41:21.714236Z  * branch            7110abe94b0113eb7b913fc213973f9d648fcdbb -> FETCH_HEAD
2024-10-05T14:41:21.714338Z 
2024-10-05T14:41:21.755433Z HEAD is now at 7110abe update
2024-10-05T14:41:21.755815Z 
2024-10-05T14:41:21.837575Z 
2024-10-05T14:41:21.838026Z Using v2 root directory strategy
2024-10-05T14:41:21.861936Z Success: Finished cloning repository files
2024-10-05T14:41:28.326822Z Failed: error occurred while running build command

Is there a best way to debug this error?

I ran yarn upgrade recently, which was the only change.

The deploy script is here: https://github.com/jaanli/jaan.li/blob/main/.github/workflows/deploy.yml which was taken from an example.

Relevant thread: https://github.com/observablehq/framework/issues/1378