Can't deploy from GitHub to Railway

jakelizarragaTRIAL

6 months ago

12 0.507

12 1.170 Attention: Next.js now collects completely anonymous telemetry regarding usage.

12 1.170 This information is used to shape Next.js' roadmap and prioritize features.

12 1.170 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:

12 1.170 https://nextjs.org/telemetry

12 1.170

12 1.241 ▲ Next.js 14.2.8

12 1.241

12 1.311 Creating an optimized production build …

12 8.503 Failed to compile.

12 8.503

12 8.503 ./src/app/components/Profile.tsx

12 8.503 Module not found: Can't resolve './SettingsPage.module.scss'

12 8.503

12 8.503 https://nextjs.org/docs/messages/module-not-found

12 8.503

12 8.503 Import trace for requested module:

12 8.503 ./src/app/profile/page.tsx

12 8.503

12 8.503 ./src/app/components/Settings.tsx

12 8.503 Module not found: Can't resolve './SettingsPage.module.scss'

12 8.503

12 8.503 https://nextjs.org/docs/messages/module-not-found

12 8.503

12 8.503 Import trace for requested module:

12 8.503 ./src/app/settings/page.tsx

12 8.504

12 8.521

12 8.522 > Build failed because of webpack errors

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/b8ade751-f8cc-46cf-b88b-e8b006ef713e-next/cache,target=/app/.next/cache --mount=type=cache,id=s/b8ade751-f8cc-46cf-b88b-e8b006ef713e-nodemodules/cache,target=/app/nodemodules/.cache npm run build:

8.503 ./src/app/components/Settings.tsx

8.503 Module not found: Can't resolve './SettingsPage.module.scss'

8.503

8.503 https://nextjs.org/docs/messages/module-not-found

8.503

8.503 Import trace for requested module:

8.503 ./src/app/settings/page.tsx

8.504

8.521

8.522 > Build failed because of webpack errors

Dockerfile:24

22 | # build phase

23 | COPY . /app/.

24 | >>> RUN --mount=type=cache,id=s/b8ade751-f8cc-46cf-b88b-e8b006ef713e-next/cache,target=/app/.next/cache --mount=type=cache,id=s/b8ade751-f8cc-46cf-b88b-e8b006ef713e-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

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies