t3-oss / create-t3-turbo

Clean and simple starter repo using the T3 Stack along with Expo React Native
https://turbo.t3.gg
MIT License
4.74k stars 408 forks source link

chore: rsc prefetch instead of passing initialData as props #1091

Closed juliusmarminge closed 4 months ago

dBianchii commented 4 months ago

Hi @juliusmarminge, I am getting these errors when building on vercel:

image

Module not found: Package path ./rsc is not exported from package /vercel/path0/apps/kdx/node_modules/@trpc/react-query

However, I am using the same @trpc/react-query version as this. Know what can be happening?

dBianchii commented 4 months ago

Locally it works, and even builds

juliusmarminge commented 4 months ago

Locally it works, and even builds

sounds like a bad pnpm cache on Vercel? Does redeploying succeed? You need @trpc/react-query@^11.0.0-rc.441

dBianchii commented 4 months ago

Locally it works, and even builds

sounds like a bad pnpm cache on Vercel? Does redeploying succeed? You need @trpc/react-query@^11.0.0-rc.441

Oh, you're right. Can't believe vercel is so bad at detecting package.json diffs and busting cache.

Thanks!