acronie
acronie
Explore posts from servers
RRailway
Created by acronie on 9/7/2024 in #✋|help
Transfer of account
Hey, is it possible to add someone to my account or transfer them my account so they can add their card
13 replies
RRailway
Created by acronie on 8/10/2024 in #✋|help
Crashing with 137
No description
32 replies
RRailway
Created by acronie on 6/17/2024 in #✋|help
Database deployment all of a sudden
Hey for some reason my db seems to be off?Please make sure your database server is running at `monorail.proxy.rlwy.net`:`39913`.
35 replies
RRailway
Created by acronie on 5/27/2024 in #✋|help
Vite + React getting 404 on routes
Hey I am getting 404 on routes if I am not visiting them from within the app. But if I start with / and visit further it works
27 replies
RRailway
Created by acronie on 4/4/2024 in #✋|help
Query about payment
Hey, is their any way to pay directly through bank account instead of card
4 replies
RRailway
Created by acronie on 2/2/2024 in #✋|help
Weird billing issue I believe
Hey, so this month we have had close to 0 traffic on our website. And it's still costing us 15$+ whereas last month when we had good amount of traffic it costed us the same as well
11 replies
NNovu
Created by acronie on 1/30/2024 in #💬│support
Help regarding workflows
hey, so I was going through workkflows and don't really get the idea behind it? Is it supposed to be indiviual workflows for each?
52 replies
DTDrizzle Team
Created by acronie on 12/19/2023 in #help
Type error when passing schema to drizzle
export const db: PostgresJsDatabase = drizzle(queryClient, {
schema: schema,
logger: true,
})
export const db: PostgresJsDatabase = drizzle(queryClient, {
schema: schema,
logger: true,
})
I am passing my schema like this
│  Type 'PostgresJsDatabase<typeof import("/Users/mooy/Desktop/projects/tracker/apps/api/src/db/schema/schema")>' is not assignable to type 'PostgresJsDatabase'. typescript (2322) [7, 14]
│ The types of '_.schema' are incompatible between these types.
│ Type 'ExtractTablesWithRelations<typeof import("/Users/mooy/Desktop/projects/tracker/apps/api/src/db/schema/schema")> | undefined' is not assignable to type 'ExtractTablesWithRelations<Record<string, never>> | undefined'.
│ Type 'ExtractTablesWithRelations<typeof import("/Users/mooy/Desktop/projects/tracker/apps/api/src/db/schema/schema")>' is not assignable to type 'ExtractTablesWithRelations<Record<string, never>>'.
│ Property 'key' is incompatible with index signature.
│ Type '{ tsName: "key"; dbName: "user_key"; columns: { id: PgColumn<{ name: "id"; tableName: "user_key"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; enumValues: [...]; baseColumn: never; }, {}, {}>; userId: PgColumn<...>; hashedPassword: PgColumn<...>; }...' is not assignable to type '{ tsName: string; dbName: never; columns: never; relations: Record<string, Relation<string>>; primaryKey: AnyColumn[]; }'.
│ Types of property 'dbName' are incompatible.
│ Type 'string' is not assignable to type 'never'.
│  Type 'PostgresJsDatabase<typeof import("/Users/mooy/Desktop/projects/tracker/apps/api/src/db/schema/schema")>' is not assignable to type 'PostgresJsDatabase'. typescript (2322) [7, 14]
│ The types of '_.schema' are incompatible between these types.
│ Type 'ExtractTablesWithRelations<typeof import("/Users/mooy/Desktop/projects/tracker/apps/api/src/db/schema/schema")> | undefined' is not assignable to type 'ExtractTablesWithRelations<Record<string, never>> | undefined'.
│ Type 'ExtractTablesWithRelations<typeof import("/Users/mooy/Desktop/projects/tracker/apps/api/src/db/schema/schema")>' is not assignable to type 'ExtractTablesWithRelations<Record<string, never>>'.
│ Property 'key' is incompatible with index signature.
│ Type '{ tsName: "key"; dbName: "user_key"; columns: { id: PgColumn<{ name: "id"; tableName: "user_key"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; enumValues: [...]; baseColumn: never; }, {}, {}>; userId: PgColumn<...>; hashedPassword: PgColumn<...>; }...' is not assignable to type '{ tsName: string; dbName: never; columns: never; relations: Record<string, Relation<string>>; primaryKey: AnyColumn[]; }'.
│ Types of property 'dbName' are incompatible.
│ Type 'string' is not assignable to type 'never'.
but it returns this error
4 replies
RRailway
Created by acronie on 11/29/2023 in #✋|help
Somehow possible to work with docker-compose?
Is it somehow possible to work with docker compose?
6 replies
TtRPC
Created by acronie on 11/26/2023 in #❓-help
WS with TRPC
│  Type '({ req, res, }: { req: Request; res: Response; }) => CreateInnerContextOpts' is not assignable to type 'NodeHTTPCreateContextFn<CreateRouterInner<RootConfig<{ ctx: CreateInnerContextOpts; meta: object; errorShape: { data: { zodError: typeToFlattenedError<any, string> | null; code: "PARSE_ERROR" | ... 13 more ... | "CLIENT_CLOSED_REQUEST"; httpStatus: number; path?: string | undefined; stack?: string | undefined; }; me...'. typescript (2322) [12, 3]
│ Types of parameters '__0' and 'opts' are incompatible.
│ Type 'NodeHTTPCreateContextFnOptions<IncomingMessage, WebSocket>' is not assignable to type '{ req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>; res: Response<any, Record<string, any>>; }'.
│ Types of property 'req' are incompatible.
│ Type 'IncomingMessage' is missing the following properties from type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>': get, header, accepts, acceptsCharsets, and 26 more.
│  Type '({ req, res, }: { req: Request; res: Response; }) => CreateInnerContextOpts' is not assignable to type 'NodeHTTPCreateContextFn<CreateRouterInner<RootConfig<{ ctx: CreateInnerContextOpts; meta: object; errorShape: { data: { zodError: typeToFlattenedError<any, string> | null; code: "PARSE_ERROR" | ... 13 more ... | "CLIENT_CLOSED_REQUEST"; httpStatus: number; path?: string | undefined; stack?: string | undefined; }; me...'. typescript (2322) [12, 3]
│ Types of parameters '__0' and 'opts' are incompatible.
│ Type 'NodeHTTPCreateContextFnOptions<IncomingMessage, WebSocket>' is not assignable to type '{ req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>; res: Response<any, Record<string, any>>; }'.
│ Types of property 'req' are incompatible.
│ Type 'IncomingMessage' is missing the following properties from type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>': get, header, accepts, acceptsCharsets, and 26 more.
does anyone know how can I fix this and make it compatible with my opts?
8 replies
RRailway
Created by acronie on 11/1/2023 in #✋|help
Failed to extract code archive
No description
182 replies
TtRPC
Created by acronie on 9/20/2023 in #❓-help
Showing pending inside the request?
I am using trpc with nextjs but when I am using hooks they're just not returning anything? Like it makes the request but it goes as pending and just blocks everything
18 replies
TTCTheo's Typesafe Cult
Created by acronie on 9/20/2023 in #questions
Trying to use upload thing
export const { Uploader, UploadButton, UploadDropzone } =
generateComponents<UploadFileRouter>();
export const { Uploader, UploadButton, UploadDropzone } =
generateComponents<UploadFileRouter>();
when I try to use these component it still says pass generic?
8 replies
RRailway
Created by acronie on 9/11/2023 in #✋|help
Deploying bun 1.0
in bun cause I don't need to build files is their somehow I can skip the build step since it already transpiles all files even if I am just executing it directly
3 replies
RRailway
Created by acronie on 9/8/2023 in #✋|help
Debugging issues
Is their someway to get into filesystem so I can debug production errors a0aaa94d-45ad-410c-bcae-3143340972c3
17 replies
RRailway
Created by acronie on 9/8/2023 in #✋|help
Debugging issues
Is their somehow to get into file system? or the built files
5 replies
TtRPC
Created by acronie on 9/7/2023 in #❓-help
Bad request in prod but works fine in dev
in prod I am getting BAD REQUEST
39 replies
RRailway
Created by acronie on 9/7/2023 in #✋|help
Monorepo
If I am inside monorepo how will assigning domain work I wanna asign domain in two aspects
142 replies
RRailway
Created by acronie on 8/29/2023 in #✋|help
New to railways
Trying to move my stuff from a VPS to railway
21 replies