Jeremy
Jeremy
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Jeremy on 8/7/2024 in #questions
Session not complete on expo but it is on NextJS
I know this, i think the signOut is not the issue. Possibly the callbacks? But that wouldn’t explain why the other stuff is visible. Maybe it’s just discord oAuth and i should try google instead. I’m not sure. If anyone has a suspicion please let me know
5 replies
TTCTheo's Typesafe Cult
Created by adonis03 on 8/8/2024 in #questions
Session Callback Not Triggering in NextAuth Integration with tRPC
#Session not complete on expo but it is on NextJS
5 replies
TTCTheo's Typesafe Cult
Created by adonis03 on 8/8/2024 in #questions
Session Callback Not Triggering in NextAuth Integration with tRPC
Im having that same issue with discord sign in
5 replies
TTCTheo's Typesafe Cult
Created by adonis03 on 8/8/2024 in #questions
Session Callback Not Triggering in NextAuth Integration with tRPC
Oh yeah i see
5 replies
TTCTheo's Typesafe Cult
Created by adonis03 on 8/8/2024 in #questions
Session Callback Not Triggering in NextAuth Integration with tRPC
T3-turbo?
5 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 8/7/2024 in #questions
Session not complete on expo but it is on NextJS
If anyone knows it would mean the world to me
5 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
Is there a way to turn of this prisma spam?
--no-hint
6 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
Is there a way to turn of this prisma spam?
This would really be a reason to move to drizzle for me if there is no solution
6 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
Is there a way to turn of this prisma spam?
bun prisma db:generate --silent does not work for me on "@prisma/client": "^5.4.1",
6 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
No env variables found with turbo v2.0.4 with t3-app
thank you very much!
16 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
No env variables found with turbo v2.0.4 with t3-app
adding it to the start script as well fixed it
16 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
No env variables found with turbo v2.0.4 with t3-app
my error remains
16 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
No env variables found with turbo v2.0.4 with t3-app
database:db:generate: └─────────────────────────────────────────────────────────────┘
database:db:generate:
web:start: cache miss, executing 05043452f568280d
web:start: $ next start
web:start: ▲ Next.js 14.2.4
web:start: - Local: http://localhost:3000
web:start:
web:start: ✓ Starting...
web:start: ❌ Invalid environment variables: {
web:start: NEXTAUTH_SECRET: [ 'Required' ],
web:start: NEXTAUTH_URL: [ 'Required' ],
web:start: AWS_ACCESS_KEY_ID: [ 'Required' ],
web:start: AWS_SECRET_ACCESS_KEY: [ 'Required' ],
web:start: AWS_REGION: [ 'Required' ],
web:start: AWS_ENDPOINT: [ 'Required' ],
web:start: GOOGLE_CLIENT_ID: [ 'Required' ],
web:start: GOOGLE_CLIENT_SECRET: [ 'Required' ],
web:start: DISCORD_CLIENT_ID: [ 'Required' ],
web:start: DISCORD_CLIENT_SECRET: [ 'Required' ]
web:start: }
web:start: ⨯ Failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error
web:start: Error: Invalid environment variables
web:start: at onValidationError (file:///app/node_modules/@t3-oss/env-core/dist/index.js:29:15)
web:start: at createEnv (file:///app/node_modules/@t3-oss/env-core/dist/index.js:35:16)
web:start: at createEnv (file:///app/node_modules/@t3-oss/env-nextjs/dist/index.js:12:12)
web:start: at file:///app/apps/web/src/env.js:4:20
web:start: at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
web:start: at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)
web:start: at async file:///app/apps/web/next.config.js:11:1
web:start: error: script "start" exited with code 1
web:start: ERROR: command finished with error: command (/app/apps/web) /root/.nix-profile/bin/bun run start exited (1)
web#start: command (/app/apps/web) /root/.nix-profile/bin/bun run start exited (1)

Tasks: 1 successful, 2 total
Cached: 0 cached, 2 total
Time: 3.474s
Failed: web#start
database:db:generate: └─────────────────────────────────────────────────────────────┘
database:db:generate:
web:start: cache miss, executing 05043452f568280d
web:start: $ next start
web:start: ▲ Next.js 14.2.4
web:start: - Local: http://localhost:3000
web:start:
web:start: ✓ Starting...
web:start: ❌ Invalid environment variables: {
web:start: NEXTAUTH_SECRET: [ 'Required' ],
web:start: NEXTAUTH_URL: [ 'Required' ],
web:start: AWS_ACCESS_KEY_ID: [ 'Required' ],
web:start: AWS_SECRET_ACCESS_KEY: [ 'Required' ],
web:start: AWS_REGION: [ 'Required' ],
web:start: AWS_ENDPOINT: [ 'Required' ],
web:start: GOOGLE_CLIENT_ID: [ 'Required' ],
web:start: GOOGLE_CLIENT_SECRET: [ 'Required' ],
web:start: DISCORD_CLIENT_ID: [ 'Required' ],
web:start: DISCORD_CLIENT_SECRET: [ 'Required' ]
web:start: }
web:start: ⨯ Failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error
web:start: Error: Invalid environment variables
web:start: at onValidationError (file:///app/node_modules/@t3-oss/env-core/dist/index.js:29:15)
web:start: at createEnv (file:///app/node_modules/@t3-oss/env-core/dist/index.js:35:16)
web:start: at createEnv (file:///app/node_modules/@t3-oss/env-nextjs/dist/index.js:12:12)
web:start: at file:///app/apps/web/src/env.js:4:20
web:start: at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
web:start: at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)
web:start: at async file:///app/apps/web/next.config.js:11:1
web:start: error: script "start" exited with code 1
web:start: ERROR: command finished with error: command (/app/apps/web) /root/.nix-profile/bin/bun run start exited (1)
web#start: command (/app/apps/web) /root/.nix-profile/bin/bun run start exited (1)

Tasks: 1 successful, 2 total
Cached: 0 cached, 2 total
Time: 3.474s
Failed: web#start
16 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
No env variables found with turbo v2.0.4 with t3-app
with the new version
16 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
No env variables found with turbo v2.0.4 with t3-app
ill push to prod rq, is there any things in here i do not need
16 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
No env variables found with turbo v2.0.4 with t3-app
this is my new turbo.json
16 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
No env variables found with turbo v2.0.4 with t3-app
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [
"**/.env.*local"
],
"tasks": {
"db:push": {
"cache": false
},
"lint": {},
"dev": {
"cache": false,
"persistent": true,
"dependsOn": [
"^db:generate"
]
},
"build": {
"env": ["*"],
"dependsOn": [
"^build",
"^db:generate"
],
"outputs": [
".next/**",
"!.next/cache/**"
]
},
"start": {
"dependsOn": [
"^start",
"^build",
"^db:generate"
]
},
"db:generate": {
"cache": false
}
}
}
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [
"**/.env.*local"
],
"tasks": {
"db:push": {
"cache": false
},
"lint": {},
"dev": {
"cache": false,
"persistent": true,
"dependsOn": [
"^db:generate"
]
},
"build": {
"env": ["*"],
"dependsOn": [
"^build",
"^db:generate"
],
"outputs": [
".next/**",
"!.next/cache/**"
]
},
"start": {
"dependsOn": [
"^start",
"^build",
"^db:generate"
]
},
"db:generate": {
"cache": false
}
}
}
16 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
No env variables found with turbo v2.0.4 with t3-app
will try
16 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
No env variables found with turbo v2.0.4 with t3-app
Feel free to ping me if you have any idea
16 replies
TTCTheo's Typesafe Cult
Created by Jeremy on 6/20/2024 in #questions
No env variables found with turbo v2.0.4 with t3-app
for a little more context look at my repo https://github.com/outfits-bio/app/tree/app-refactor, make sure you're on the app-refactor branch and keep in mind i downgraded back to turbo 1.11.3 on this code just for it to work but i'd like to use the new turbo version since it seperates my stuff, also hoping its faster This was the code when the error was happening: https://github.com/outfits-bio/app/tree/fe4a58f57365b30f70f85fb5c2afdb517636003c
16 replies