a year ago
12 4.666 ✓ Compiled successfully
12 4.667 Linting and checking validity of types …
12 6.419 ⨯ ESLint: Failed to load config "next/typescript" to extend from. Referenced from: /app/.eslintrc.json
12 9.335 Failed to compile.
12 9.335
12 9.335 ./app/api/generate/route.ts:40:30
12 9.335 Type error: Expected 1 arguments, but got 0.
12 9.335
12 9.335 38 |
12 9.335 39 | // Get the model's specific LoRA path from MongoDB
12 9.335 > 40 | const collection = await getCollection();
12 9.335 | ^
12 9.335 41 | const model = await collection.findOne({ id: modelId });
12 9.335 42 |
12 9.335 43 | if (!model) {
12 ERROR: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1
[stage-0 8/10] RUN --mount=type=cache,id=s/17dda67c-60e9-44bd-a1da-1e239b14283f-next/cache,target=/app/.next/cache --mount=type=cache,id=s/17dda67c-60e9-44bd-a1da-1e239b14283f-nodemodules/cache,target=/app/nodemodules/.cache npm run build:
9.335 ./app/api/generate/route.ts:40:30
9.335 Type error: Expected 1 arguments, but got 0.
9.335
9.335 38 |
9.335 39 | // Get the model's specific LoRA path from MongoDB
9.335 > 40 | const collection = await getCollection();
9.335 | ^
9.335 41 | const model = await collection.findOne({ id: modelId });
9.335 42 |
9.335 43 | if (!model) {
Dockerfile:24
22 | # build phase
23 | COPY . /app/.
24 | >>> RUN --mount=type=cache,id=s/17dda67c-60e9-44bd-a1da-1e239b14283f-next/cache,target=/app/.next/cache --mount=type=cache,id=s/17dda67c-60e9-44bd-a1da-1e239b14283f-nodemodules/cache,target=/app/nodemodules/.cache npm run build
25 |
26 |
ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1
Error: Docker build failed
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
a year ago
Have you read your build logs? within your build logs are clear errors of the code issues you are facing.