-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Failed to connect to daemon error on macOS #9394
Comments
Cleaning the cache with the command below, solved the issue for me:
|
Unfortunately, this only resolves the issue for a short time. |
This seems to happen to me also with 2.3.3 and latest canary .. One thing i noticed was that when this happens i get two folder in the turbod folder:
the client (process that runs the main watch command) seems to be using the 72.. while the daemons seems to be using 4f ... I assume the daemon is spawned with a slightly different config (or hash) and because of that can't connect. This effectively makes |
I encountered the same problem, even using |
The issue is, the daemon is launched from a child folder, not the repo root and it's path sha is different. I managed to work around by wrapping the turbo launcher in my repo with a turbo daemon start in the root path and then things work out. |
Verify canary release
Link to code that reproduces this issue
https://github.com/JoCa96/turbo-bug
What package manager are you using / does the bug impact?
npm, pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
2.2.4-canary.7
Describe the Bug
Running a watch command results in an error even when the daemon is not used:
e.g.
Expected Behavior
No error
To Reproduce
cd packages/pkg-a pnpm run dev
Shows log:
Additional context
ps axu | grep turbo
shows:npx envinfo --system --npmPackages turbo --binaries
prints the followingThe text was updated successfully, but these errors were encountered: