Skip to content

Commit 55369bb

Browse files
committed
Fix Cloud Build failure by adding Linux rolldown bindings
The release build in Cloud Build (Linux) was failing because `npm ci` could not find the `@rolldown/binding-linux-x64-gnu` native binding. This is a known issue when lockfiles are generated on non-Linux OSes. Explicitly adding it to `optionalDependencies` ensures it's included in `package-lock.json` and correctly installed by `npm ci` on Linux, while being safely skipped on other platforms.
1 parent f852d27 commit 55369bb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package-lock.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@
338338
"express": "^4.21.0",
339339
"protobufjs": "^7.2.2"
340340
},
341+
"optionalDependencies": {
342+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.45"
343+
},
341344
"devDependencies": {
342345
"@eslint/eslintrc": "^3.3.1",
343346
"@firebase/api-documenter": "^0.2.0",

0 commit comments

Comments
 (0)