MagerX
MagerX
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Satou kuzuma on 3/15/2024 in #questions
t3 docs folder structure not up to date?
when you were creating the app from create-t3-app it asked you the question
[EXPERIMENTAL] Would you like to use Next.js App Router?
[EXPERIMENTAL] Would you like to use Next.js App Router?
By default the value is "No", so you must have accidentally toggled it to yes. App Router = src/app Pages Router =src/pages
4 replies
TTCTheo's Typesafe Cult
Created by Vilatoro on 3/14/2024 in #questions
How to use upload thing with only OpenAPI Specs?
It may be easier to accomplish this using the openAI node SDK the image key on the object below supports ReadStreams, FileObjects, and an ImageResponse type that seems to be specific to the original generate function
import fs from "fs";
import OpenAI from "openai";

const openai = new OpenAI();

async function main() {
const image = await openai.images.createVariation({
image: fs.createReadStream("otter.png"),
});

console.log(image.data);
}
main();
import fs from "fs";
import OpenAI from "openai";

const openai = new OpenAI();

async function main() {
const image = await openai.images.createVariation({
image: fs.createReadStream("otter.png"),
});

console.log(image.data);
}
main();
5 replies
TTCTheo's Typesafe Cult
Created by vivekjaiswal4077 on 3/13/2024 in #questions
Issues with yarn.lock file changes
You need to force merge the yarn.lock file. You do not want to corrupt that file, so just force push the entire file. There are no conflicts in yarn.lock that will create issues, and if you do run into an issue with yarn.lock, delete the file and run npm install and it will regenerate.
8 replies
TTCTheo's Typesafe Cult
Created by Ben on 3/12/2024 in #questions
Audio File Upload and Storage - PWA or Native App?
No one answered you, but simply, for THIS SPECIFIC problem it comes down to one question. Are my users going to use my product on a desktop or a phone. If its a phone, you'll get infinitely better performance going native, but if your users prefer desktop, its definitely better to go PWA. With that said, I'd choose Expo as well.
4 replies
TTCTheo's Typesafe Cult
Created by vivekjaiswal4077 on 3/13/2024 in #questions
Issues with yarn.lock file changes
Where exactly are you checking for the change in the data? Is it possible youre looking at the wrong branch? Your steps appear right as far as I can tell. Yarn.lock is a file that generates when you run yarn install. Essentially its a file of the exact versions that were installed into the project from npm. npm allows libraries to define open ended version requirements, something applications typically prefer not to do. yarn.lock provides a potential layer of security if needed and essentially shows you the state of the project from the perspective of your package manager.
8 replies
TTCTheo's Typesafe Cult
Created by Vilatoro on 3/14/2024 in #questions
How to use upload thing with only OpenAPI Specs?
Which spec are you trying to use exactly? I don't see any references to the open AI api
5 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
guess ill just recreate and migrate but I seriously cant fathom what is going wrong here
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
welp my original is still broken lmaoo
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
Yeah im 100% sure that there was an issue with its framework detection and it went away right when you tested it lmaoo
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
im so lost lmaoo
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
annnnd it worked that time
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
it seems to work that time, but id like to use TRPC
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
gonna try it again
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
No description
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
so im really confused
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
its failing on literally 2 different fresh t3 apps I made today
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
lemme try again ig
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
wtf
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
No description
26 replies
TTCTheo's Typesafe Cult
Created by MagerX on 3/13/2024 in #questions
Fresh Create-t3-app isn't deploying to vercel
What do you mean its wrong?
26 replies