willm
willm
Explore posts from servers
DTDrizzle Team
Created by willm on 1/18/2025 in #help
Multiple exports with the same name
No description
2 replies
DTDrizzle Team
Created by willm on 12/25/2024 in #help
please install required packages: 'drizzle-orm'
I'm getting the following error when I run drizzle-kit push. I don't think I changed anything and drizzle-orm is definitely installed and working in my app. Any ideas?
11 replies
TTCTheo's Typesafe Cult
Created by willm on 10/5/2023 in #questions
env.t3.gg app directory
if I want to use https://env.t3.gg/ with nextjs app directory, where should I put env.mjs?
8 replies
TTCTheo's Typesafe Cult
Created by willm on 10/3/2023 in #questions
Invalid environment
I'm losing my mind with the .env stuff in t3. I set GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET in env.mjs and also set it in .env but it keeps telling me this:
❌ Invalid environment variables: {
GITHUB_CLIENT_ID: [ 'Required' ],
GITHUB_CLIENT_SECRET: [ 'Required' ]
}
❌ Invalid environment variables: {
GITHUB_CLIENT_ID: [ 'Required' ],
GITHUB_CLIENT_SECRET: [ 'Required' ]
}
I'm doing this the same way DISCORD_CLIENT_ID and DISCORD_CLIENT_SECRET were set. How do I fix this?
3 replies
TTCTheo's Typesafe Cult
Created by willm on 10/2/2023 in #questions
eslint fails in default t3 project
No description
1 replies
TTCTheo's Typesafe Cult
Created by willm on 4/29/2023 in #questions
TRPC Middleware
How can I create a TRPC middleware function where I can inspect the HTTP headers? I'm in trpc.ts in the server and see the documentation, but I can't piece it all together.
export const activatedMiddleware = t.middleware(async (opts) => {
const { ctx } = opts;

return opts.next(opts);

})
export const activatedMiddleware = t.middleware(async (opts) => {
const { ctx } = opts;

return opts.next(opts);

})
I have this so far and would like to check the request headers.
2 replies
TTCTheo's Typesafe Cult
Created by willm on 4/26/2023 in #questions
Vercel deployment error
14 replies