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.73k stars 408 forks source link

bug: pnpm run dev fails #1135

Open sanjeethboddi opened 3 months ago

sanjeethboddi commented 3 months ago

Provide environment information

System: OS: macOS 14.5 CPU: (8) arm64 Apple M2 Memory: 73.63 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.16.0 - ~/.nvm/versions/node/v20.16.0/bin/node Yarn: 1.22.21 - ~/.nvm/versions/node/v18.12.1/bin/yarn npm: 10.8.1 - ~/.nvm/versions/node/v20.16.0/bin/npm pnpm: 9.5.0 - /opt/homebrew/bin/pnpm

Describe the bug

pnpm run dev:next fails

> create-t3-turbo@ dev:next /sd/x
> turbo watch dev -F @acme/nextjs...

turbo 2.0.11

• Packages in scope: @acme/api, @acme/auth, @acme/db, @acme/eslint-config, @acme/nextjs, @acme/prettier-config, @acme/tailwind-config, @acme/tsconfig, @acme/ui, @acme/validators
• Running dev in 10 packages
• Remote caching disabled
  × failed to connect to daemon
  ╰─▶ server is unavailable: channel closed

 ELIFECYCLE  Command failed with exit code 1.

Link to reproduction

https://github.com/t3-oss/create-t3-turbo

To reproduce

just clone and run

Additional information

No response

sanjeethboddi commented 3 months ago
image
juliusmarminge commented 3 months ago

Try pnpm turbo daemon restart

dBianchii commented 3 months ago

I reported this same issue here:

https://github.com/vercel/turbo/issues/8491

For now, I need to run turbo daemon clean every once in a while and try running the command again 2 times

sanjeethboddi commented 3 months ago

I reported this same issue here:

vercel/turbo#8491

For now, I need to run turbo daemon clean every once in a while and try running the command again 2 times

After doing turbo daemon clean I'm getting this error discovery failed: bad grpc status code: The operation was cancelled

will track the status of vercel/turbo/issues/8491

image
sanjeethboddi commented 3 months ago

@dBianchii Could you please suggest other ways to get the template up and running without using turbo?

dBianchii commented 3 months ago

@dBianchii Could you please suggest other ways to get the template up and running without using turbo?

I only use it with turbo. You can also go to apps/NextJS and run pnpm dev which should also work

juliusmarminge commented 3 months ago

Would you please mind checking if upgrading to latest turbo (part of #1144) fixes your issue?

Run pnpm turbo daemon restart too after upgrading for good measure

sanjeethboddi commented 3 months ago

@juliusmarminge No it doesn't fix the issue.

dBianchii commented 2 months ago

Has anyone found a solution? It's so annoying having to restart the daemon every time

Shashivadan commented 1 month ago

After executing the command pnpm turbo daemon restart and including the discord authentication variables in the .env file, the process worked successfully for me.

techwithanirudh commented 1 week ago

Yeah, I'm having the same issue here while using t3-turbo. I'm on the latest version of Turborepo.