Build job is broken
All build jobs started failing. This is retroactive: even relauching a previously successful job makes it fail now. Some software/docker image probably got updated somewhere.
#17 1.668 > portal@0.0.0 build /app/apps/portal
#17 1.668 > vite build --mode prod
#17 1.668
#17 2.192 failed to load config from /app/apps/portal/vite.config.ts
#17 2.193 error during build:
#17 2.193 TypeError: Cannot redefine property: File
#17 2.193 at Function.defineProperty (<anonymous>)
#17 2.193 at Object.<anonymous> (/app/node_modules/.pnpm/@babel+core@7.21.4/node_modules/@babel/core/lib/index.js:7:8)
#17 2.193 at Module._compile (node:internal/modules/cjs/loader:1241:14)
#17 2.193 at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
#17 2.193 at Module.load (node:internal/modules/cjs/loader:1091:32)
#17 2.193 at Module._load (node:internal/modules/cjs/loader:938:12)
#17 2.193 at Module.require (node:internal/modules/cjs/loader:1115:19)
#17 2.193 at require (node:internal/modules/helpers:130:18)
#17 2.193 at Object.<anonymous> (/app/node_modules/.pnpm/@babel+core@7.21.4/node_modules/@babel/core/lib/config/helpers/config-api.js:16:9)
#17 2.193 at Module._compile (node:internal/modules/cjs/loader:1241:14)
#17 2.204 /app/apps/portal:
#17 2.204 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL portal@0.0.0 build: `vite build --mode prod`
#17 2.204 Exit status 1
#17 2.220 ELIFECYCLE Command failed with exit code 1.
#17 ERROR: executor failed running [/bin/sh -c pnpm build:${APP}]: exit code: 1