Chris Jayden
Chris Jayden
Explore posts from servers
RRailway
Created by Chris Jayden on 9/10/2024 in #✋|help
Listening on port 3000 but no app not availble
My project ID: 50068b33-dd62-4d85-85a0-4353794cb644 Just to be on the safe side I've set the PORT variable to 3000. I can see in the deploy logs that the app is running on port 3000 but I can visit the url. Am I missing something? Service ID: f30f6f38-ab67-479b-9351-8acf06ea91cd
7 replies
RRailway
Created by Chris Jayden on 9/10/2024 in #✋|help
Help with setting up Turborepo Node application
I've tried many things but I can't get it to work. The issue I'm currently running into is:
> [builder 6/6] RUN turbo run build --filter=scan-service:

0.267 WARNING No locally installed `turbo` found. Using version: 2.0.9.

0.276

0.276 Attention:

0.276 Turborepo now collects completely anonymous telemetry regarding usage.

0.276 This information is used to shape the Turborepo roadmap and prioritize features.

0.276 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:

0.276 https://turbo.build/repo/docs/telemetry

0.276

0.293 x No package found with name 'scan-service' in workspace

0.293

-----



Dockerfile:36

-------------------

34 |

35 | # Build the scan-service

36 | >>> RUN turbo run build --filter=scan-service

37 |

38 | # Expose port 3000

-------------------

ERROR: failed to solve: process "/bin/sh -c turbo run build --filter=scan-service" did not complete successfully: exit code: 1
> [builder 6/6] RUN turbo run build --filter=scan-service:

0.267 WARNING No locally installed `turbo` found. Using version: 2.0.9.

0.276

0.276 Attention:

0.276 Turborepo now collects completely anonymous telemetry regarding usage.

0.276 This information is used to shape the Turborepo roadmap and prioritize features.

0.276 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:

0.276 https://turbo.build/repo/docs/telemetry

0.276

0.293 x No package found with name 'scan-service' in workspace

0.293

-----



Dockerfile:36

-------------------

34 |

35 | # Build the scan-service

36 | >>> RUN turbo run build --filter=scan-service

37 |

38 | # Expose port 3000

-------------------

ERROR: failed to solve: process "/bin/sh -c turbo run build --filter=scan-service" did not complete successfully: exit code: 1
The commands work locally,, and the "scan-service" app exists. Project id: 50068b33-dd62-4d85-85a0-4353794cb644
9 replies
TtRPC
Created by Chris Jayden on 7/24/2023 in #❓-help
Typescript helper for router output
is there a helper to do this better? Get the output for a certain route? Or is this the way to do it?
import type { AppRouter } from "$lib/api/root";

type TInitialData = AppRouter['user']['me']['_def']['_output_out']

// Do stuff
import type { AppRouter } from "$lib/api/root";

type TInitialData = AppRouter['user']['me']['_def']['_output_out']

// Do stuff
5 replies