Kapatid
Kapatid
Explore posts from servers
DTDrizzle Team
Created by beneidel on 7/15/2023 in #help
"Cannot parse date or time" using AWS Data API, aurora postgres
Yeah I thought about the consequences of removing withTimezone too. Currently I am trying to find a solution in which I don't remove the withTimezone.
17 replies
DTDrizzle Team
Created by beneidel on 7/15/2023 in #help
"Cannot parse date or time" using AWS Data API, aurora postgres
export const sessionTable = pgTable("session", {
id: text("id").primaryKey(),
userId: text("user_id")
.notNull()
.references(() => userTable.id),
expiresAt: timestamp("expires_at", {
mode: "date"
}).notNull()
})
export const sessionTable = pgTable("session", {
id: text("id").primaryKey(),
userId: text("user_id")
.notNull()
.references(() => userTable.id),
expiresAt: timestamp("expires_at", {
mode: "date"
}).notNull()
})
I removed the withTimezone property in my timestamp and now everything works and I encountered this problem when trying to use Nextjs + Drizzle + Lucia Auth.
// package.json
"lucia": "^3.0.1",
"drizzle-orm": "^0.29.4",
"@lucia-auth/adapter-drizzle": "^1.0.2"
// package.json
"lucia": "^3.0.1",
"drizzle-orm": "^0.29.4",
"@lucia-auth/adapter-drizzle": "^1.0.2"
17 replies
DTDrizzle Team
Created by Kapatid on 2/16/2024 in #help
AWS Data API 'PROFILE'
Thanks for the reply! I thought that it was a required thing when using the RDSDataClient.
4 replies
RRailway
Created by Kapatid on 5/31/2023 in #✋|help
Turborepo in Railway
Yes no problems
16 replies
RRailway
Created by Kapatid on 5/31/2023 in #✋|help
Turborepo in Railway
cli*
16 replies
RRailway
Created by Kapatid on 5/31/2023 in #✋|help
Turborepo in Railway
Yup they are in gitignore since I used nextjs and fastify clic
16 replies
RRailway
Created by Kapatid on 5/31/2023 in #✋|help
Turborepo in Railway
Just used watch paths for src files it actually worked thanks!
16 replies
RRailway
Created by Kapatid on 5/31/2023 in #✋|help
Turborepo in Railway
Start command not deploy command my mistake
16 replies
RRailway
Created by Kapatid on 5/31/2023 in #✋|help
Turborepo in Railway
Thanks, but which should I watch the build files or the src files because if I commit they would still trigger my build and deploy commands right?
16 replies
RRailway
Created by Kapatid on 5/31/2023 in #✋|help
Turborepo in Railway
f58a6a0a-fabc-4638-88a8-91f4ad9364fb
16 replies
RRailway
Created by Kapatid on 5/21/2023 in #✋|help
How to connect to my Soketi project in Railway
I have docker but when I run nixpacks build it tells me
Nixpacks was unable to generate a build plan for this app.
Please check the documentation for supported languages: https://nixpacks.com

The contents of the app directory are:

Dockerfile
README.md
Nixpacks was unable to generate a build plan for this app.
Please check the documentation for supported languages: https://nixpacks.com

The contents of the app directory are:

Dockerfile
README.md
14 replies
RRailway
Created by Kapatid on 5/21/2023 in #✋|help
How to connect to my Soketi project in Railway
I just realized this how do I run my Soketi in my local machine?
14 replies
RRailway
Created by Kapatid on 5/21/2023 in #✋|help
How to connect to my Soketi project in Railway
Ok I will try to use these values
14 replies
RRailway
Created by Kapatid on 5/21/2023 in #✋|help
How to connect to my Soketi project in Railway
Do I need to also host my create-t3-app in Railway because currently it is deployed in Vercel
14 replies
RRailway
Created by Kapatid on 5/21/2023 in #✋|help
How to connect to my Soketi project in Railway
d740978b-74b7-426a-8f52-07ff6d546ac8
14 replies
RRailway
Created by Kapatid on 4/17/2023 in #✋|help
nixpacks build error
Quite surprised that I needed to do this when building in my local machine since when I deployed it to railway I did not get these errors.
6 replies
RRailway
Created by Kapatid on 4/17/2023 in #✋|help
nixpacks build error
Seems like I solved my errors. Here is the list I have done to solve them - Add .dockerignore for dotnet project
# directories
**/bin/
**/obj/
**/out/

# files
Dockerfile*
**/*.trx
**/*.md
**/*.ps1
**/*.cmd
**/*.sh
# directories
**/bin/
**/obj/
**/out/

# files
Dockerfile*
**/*.trx
**/*.md
**/*.ps1
**/*.cmd
**/*.sh
- Change js package verions in my package.json file
{
...
"devDependencies": {
...
- "typescript": "^5.0.0",
+ "typescript": "4.9.5",
- "vite": "^3.1.0"
+ "vite": "3.2.5"
}
}
{
...
"devDependencies": {
...
- "typescript": "^5.0.0",
+ "typescript": "4.9.5",
- "vite": "^3.1.0"
+ "vite": "3.2.5"
}
}
6 replies
RRailway
Created by Kapatid on 4/17/2023 in #✋|help
nixpacks build error
If so, how do I remove the rust tool chain file? Pretty sure I have not installed any Rust files in my machine.
6 replies
RRailway
Created by Kapatid on 4/17/2023 in #✋|help
nixpacks build error
N/A
6 replies
RRailway
Created by Kapatid on 1/31/2023 in #✋|help
Error when Deploying a AspNetCore_Vite_Starter
Seems that I fixed the build errors. Project: https://github.com/nadjitan/dotnet-vite-react. Fix: Add a nixpacks.toml then add these
[phases.setup]
nixPkgs = ["...", "nodejs", "nodePackages.typescript"]

[phases.build]
cmds = ["cd /app/ClientApp/ && npm install", "..."]
[phases.setup]
nixPkgs = ["...", "nodejs", "nodePackages.typescript"]

[phases.build]
cmds = ["cd /app/ClientApp/ && npm install", "..."]
5 replies