Build fails after introducing HarfBuzz
Author: GeorgeTailorCreated Aug 28, 2026Updated Aug 28, 2026
Bug report
Description / Observed Behavior
build fails on Cloudflare workers
10:00:26.949
✘ [ERROR] Build failed with 1 error:
10:00:26.949
10:00:26.949
✘ [ERROR] Could not resolve "fs"
10:00:26.949
10:00:26.949
../node_modules/harfbuzzjs/hb.js:1:820:
10:00:26.949
1 │ ...NMENT_IS_NODE){var fs=require("fs");scriptDirectory=__dirname+"/...
10:00:26.950
╵ ~~~~
10:00:26.950
10:00:26.950
The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.Expected Behavior
'fs' is not required
Reproduction
Build problem, not a runtime one.
Additional Context
Problem since version 0.33.0
Source: vercel/satori