Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: pnpm run dev fails #1135

Open
sanjeethboddi opened this issue Aug 5, 2024 · 11 comments
Open

bug: pnpm run dev fails #1135

sanjeethboddi opened this issue Aug 5, 2024 · 11 comments
Labels
upstream problem is on an upstream package

Comments

@sanjeethboddi
Copy link

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
Copy link
Author

image

@juliusmarminge
Copy link
Member

juliusmarminge commented Aug 6, 2024

Try pnpm turbo daemon restart

@dBianchii
Copy link
Contributor

I reported this same issue here:

vercel/turborepo#8491

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

@sanjeethboddi
Copy link
Author

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
Copy link
Author

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

@dBianchii
Copy link
Contributor

@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 juliusmarminge added the upstream problem is on an upstream package label Aug 8, 2024
@juliusmarminge
Copy link
Member

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
Copy link
Author

@juliusmarminge No it doesn't fix the issue.

@dBianchii
Copy link
Contributor

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

@Shashivadan
Copy link

Shashivadan commented Oct 17, 2024

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
Copy link

techwithanirudh commented Nov 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream problem is on an upstream package
Projects
None yet
Development

No branches or pull requests

5 participants