Error when running eas-cli update

When I try to run

npx eas-cli update --branch qa --message test

i get the following error on Jenkins:

- Exporting...
[expo-cli] Starting Metro Bundler
- Exporting...
[expo-cli] 
- Exporting...
[expo-cli] iOS Bundling complete 58135ms
- Exporting...
[expo-cli] 
- Exporting...
[expo-cli] Android Bundling complete 58200ms
- Exporting...
[expo-cli] iOS Building Hermes bytecode for the bundle
- Exporting...
[expo-cli] 
- Exporting...
[expo-cli] Error: /home/jenkins/workspace/wrapp-ota-deploy/node_modules/react-native/sdks/hermesc/linux64-bin/hermesc exited with non-zero code: 2
- Exporting...
[expo-cli] Error: /home/jenkins/workspace/wrapp-ota-deploy/node_modules/react-native/sdks/hermesc/linux64-bin/hermesc exited with non-zero code: 2
- Exporting...
[expo-cli]     at ChildProcess.completionListener (/home/jenkins/workspace/wrapp-ota-deploy/node_modules/@expo/spawn-async/build/spawnAsync.js:52:23)
- Exporting...
[expo-cli]     at Object.onceWrapper (node:events:629:26)
- Exporting...
[expo-cli]     at ChildProcess.emit (node:events:514:28)
- Exporting...
[expo-cli]     at maybeClose (node:internal/child_process:1091:16)
- Exporting...
[expo-cli]     at Socket.<anonymous> (node:internal/child_process:449:11)
- Exporting...
[expo-cli]     at Socket.emit (node:events:514:28)
- Exporting...
[expo-cli]     at Pipe.<anonymous> (node:net:323:12)
- Exporting...
[expo-cli]     ...
- Exporting...
[expo-cli]     at spawnAsync (/home/jenkins/workspace/wrapp-ota-deploy/node_modules/@expo/spawn-async/build/spawnAsync.js:17:21)
- Exporting...
[expo-cli]     at Object.buildHermesBundleAsync (/home/jenkins/workspace/wrapp-ota-deploy/node_modules/@expo/dev-server/build/HermesBundler.js:88:37)
- Exporting...
[expo-cli]     at async maybeAddHermesBundleAsync (/home/jenkins/workspace/wrapp-ota-deploy/node_modules/@expo/cli/build/src/export/fork-bundleAsync.js:108:40)
- Exporting...
[expo-cli]     at async Object.bundleAsync (/home/jenkins/workspace/wrapp-ota-deploy/node_modules/@expo/cli/build/src/export/fork-bundleAsync.js:121:32)
- Exporting...
[expo-cli]     at async Object.createBundlesAsync (/home/jenkins/workspace/wrapp-ota-deploy/node_modules/@expo/cli/build/src/export/createBundles.js:39:21)
- Exporting...
[expo-cli]     at async Object.exportAppAsync (/home/jenkins/workspace/wrapp-ota-deploy/node_modules/@expo/cli/build/src/export/exportApp.js:64:21)
- Exporting...
[expo-cli]     at async exportAsync (/home/jenkins/workspace/wrapp-ota-deploy/node_modules/@expo/cli/build/src/export/exportAsync.js:45:5)
- Exporting...
✖ Export failed
/home/jenkins/workspace/wrapp-ota-deploy/node_modules/expo/bin/cli exited with non-zero code: 1
    Error: update command failed.
Build step 'Execute shell' marked build as failure
Finished: FAILURE

It works locally.
What am I missing?