Skip to content
Platform build fails at npm install with ECONNRESET
sarmislu-sys
OP

8 hours ago

RUN set -eux && export PORT=3000 && pnpm install --frozen-lockfile --ignore-scripts && pnpm --filter @workspace/verifit-platform run build && test -f artifacts/verifit-platform/dist/public/index.html && ls -la artifacts/verifit-platform/dist/public | head

7s

  • export PORT=3000
  • pnpm install --frozen-lockfile --ignore-scripts

Scope: all 9 workspace projects

Lockfile is up to date, resolution step is skipped

Progress: resolved 1, reused 0, downloaded 0, added 0

Packages: +520

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

╭───────────────────────────────────────────────────────────────────╮

│ │

│ Update available! 9.15.9 → 12.21.0. │

│ Changelog: https://github.com/pnpm/pnpm/releases/tag/v12.21.0 │

│ Run "corepack use [email protected]" to update. │

│ │

╰───────────────────────────────────────────────────────────────────╯

Progress: resolved 520, reused 0, downloaded 224, added 220

Progress: resolved 520, reused 0, downloaded 336, added 320

Progress: resolved 520, reused 0, downloaded 520, added 520, done

dependencies:

  • @replit/connectors-sdk 0.4.1

devDependencies:

  • prettier 3.9.6
  • typescript 5.9.3

Done in 3.9s using pnpm v9.15.9

  • pnpm --filter @workspace/verifit-platform run build

@workspace/[email protected] build /app/artifacts/verifit-platform

vite build --config vite.config.ts

vite v7.3.6 building client environment for production...

transforming...

✓ 15 modules transformed.

✗ Build failed in 614ms

error during build:

[vite:esbuild] Transform failed with 1 error:

/app/artifacts/verifit-platform/src/App.tsx:11145:48: ERROR: Expected ")" but found "("

file: /app/artifacts/verifit-platform/src/App.tsx:11145:48

Expected ")" but found "("

11143 | >New evaluation}

11144 | <div className={${evaluationShelf === 'active' ? 'mt-6' : ''} max-w-xl border-t border-[#1d3254]>

11145 | {listHolderEvaluations(readActiveSession()).filter((row) => evaluationKind(row) === evaluationShelf).map((row...

  |                                                  ^

11146 | const title = [...CATALOGUE_POSTS, ...jobCreationOptions].find((item) => item.code === row.selectedRoleCode...

11147 | const level = row.selfScores?.length === 5 && row.selfScores.every((score) => score === 95) ? 'Executive' :...

at failureErrorWithLog (/app/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/lib/main.js:1467:15)

at /app/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/lib/main.js:736:50

at responseCallbacks.<computed> (/app/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/lib/main.js:603:9)

at handleIncomingPacket (/app/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/lib/main.js:658:12)

at Socket.readFromStdout (/app/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/lib/main.js:581:7)

at Socket.emit (node:events:519:28)

at addChunk (node:internal/streams/readable:561:12)

at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)

at Readable.push (node:internal/streams/readable:392:5)

at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)

/app/artifacts/verifit-platform:

 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @workspace/[email protected] build: vite build --config vite.config.ts

Exit status 1

Build Failed: build daemon returned an error < failed to solve: process "/bin/sh -c set -eux && export PORT=3000 && pnpm install --frozen-lockfile --ignore-scripts && pnpm --filter @workspace/verifit-platform run build && test -f artifacts/verifit-platform/dist/public/index.html && ls -la artifacts/verifit-platform/dist/public | head" did not complete successfully: exit code: 1 >

Awaiting Conductor Response$20 Bounty

2 Replies

Railway
BOT

8 hours ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway • about 8 hours ago


Make sure you’re closing your parentheses in line 11145 of App.tsx.


sarmislu-sys
OP

5 hours ago

ty


Welcome!

Sign in to your Railway account to join the conversation.

Loading...