a year ago
Failed to compile.
src/app/(home)/blog/[slug]/page.jsx
Type error: Page "src/app/(home)/blog/[slug]/page.jsx" does not match the required types of a Next.js Page.
"BlogPost" is not a valid Page export field.
Static worker exited with code: 1 and signal: null
✕ [stage-0 8/10] RUN --mount=type=cache,id=s/e8acc7b0-378c-4a85-8976-b60498afc0ad-next/cache,target=/app/.next/cache --mount=type=cache,id=s/e8acc7b0-378c-4a85-8976-b60498afc0ad-nodemodules/cache,target=/app/nodemodules/.cache npm run build
process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1
Dockerfile:24
22 | # build phase
23 | COPY . /app/.
24 | >>> RUN --mount=type=cache,id=s/e8acc7b0-378c-4a85-8976-b60498afc0ad-next/cache,target=/app/.next/cache --mount=type=cache,id=s/e8acc7b0-378c-4a85-8976-b60498afc0ad-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
Hey!
This is an issue with your application. Unfortunately, we're unable to offer first-party support for issues unrelated to the Railway product or platform.
Other communities such as Stackoverflow might be able to help you out further.
Best,
Brody
Status changed to Closed brody • about 1 year ago