[Create-t3-turbo] Issues deploying fresh clone on windows...

https://www.loom.com/share/2891b0907a264e319f5204a912cc9d3d?sid=a8d8541b-1a89-49e7-8b57-31051321889e I am creating a new t3 turbo repo. This morning I cloned it on my windows desktop,setup .env, did db:push and pnpm dev. I was met with an error:
[TypeError: Cannot read properties of undefined (reading '')]
@acme/nextjs:dev: ⨯ [TypeError: Cannot read properties of undefined (reading '')]
@acme/nextjs:dev: ⨯ [TypeError: Cannot read properties of null (reading 'default')]
@acme/nextjs:dev: >>> tRPC Error on 'post.all' [TRPCError: Invalid state: Controller is already closed]
[TypeError: Cannot read properties of undefined (reading '')]
@acme/nextjs:dev: ⨯ [TypeError: Cannot read properties of undefined (reading '')]
@acme/nextjs:dev: ⨯ [TypeError: Cannot read properties of null (reading 'default')]
@acme/nextjs:dev: >>> tRPC Error on 'post.all' [TRPCError: Invalid state: Controller is already closed]
I deleted, tried with the npx turbo method, same issue. I then switched to my macbook, and was able to get a local dev running via npx and git clone, both worked. I pushed the repo to github from my mac, recloned it back to windows, and am getting the same error on deployment. On windows, changing the line :
export const runtime = "edge";
export const runtime = "edge";
on the main app page.tsx (line 10) lets the app load on windows. All deployments work in production in vercel. I just cannot get the vanilla repo to work on windows. References: https://github.com/vercel/next.js/issues/53562
Loom
[Create-t3-turbo] Issues deploying fresh clone on windows...
In this video, I demonstrate an issue I'm experiencing with Create T3 Turbo. I show that the application works fine when running it online, logging in, logging out, and creating posts. However, when cloning the project and running it locally, I encounter an internal server error unless I comment out a specific line of code. I provide a workaroun...
GitHub
error TypeError: Cannot read properties of undefined (reading '') w...
Verify canary release I verified that the issue exists in the latest Next.js canary release Provide environment information Operating System: Platform: win32 Arch: x64 Version: Windows 10 Pro Binar...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server