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

unable to pipe outputs from command: Windows stdio in console mode does not support writing non-UTF-8 byte sequences #7075

Open
1 task done
VagrantDaniel opened this issue Jan 23, 2024 · 10 comments
Labels
area: windows Issues specifically reproducing on Windows kind: bug Something isn't working needs: author input owned-by: turborepo

Comments

@VagrantDaniel
Copy link

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

https://github.com/vercel/turbo/tree/main/examples

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Windows

Which canary version will you have in your reproduction?

latest

Describe the Bug

when I exec command "turbo dev" in terminal,I find this issue:
'next' ERROR unable to pipe outputs from command: Windows stdio in console mode does not support writing non-UTF-8 byte sequences
Oops! Turbo has crashed.

Expected Behavior

run "turbo dev" smoothly

To Reproduce

image

Additional context

No response

@VagrantDaniel VagrantDaniel added kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage owned-by: turborepo labels Jan 23, 2024
@mehulkar
Copy link
Contributor

mehulkar commented Jan 23, 2024

Does this reproduce without turbo? Can you cd apps/web and try running pnpm dev?

@mehulkar mehulkar added needs: author input area: windows Issues specifically reproducing on Windows labels Jan 23, 2024
@fendyk
Copy link

fendyk commented Feb 7, 2024

For me, this happens if I did not install dependencies correctly. Can you check all your package.json files and look for any missing packages?

@mehulkar mehulkar removed the needs: triage New issues get this label. Remove it after triage label Mar 11, 2024
@yannianC
Copy link

I have the same problem, how to solve it

@chris-olszewski
Copy link
Contributor

@yannianC Can you confirm that the underlying task produces valid UTF8? (i.e. run the script without turbo and verify you get the same error)

@look4u-ovo
Copy link

image
How to solve it ,pls?

@seeibt
Copy link

seeibt commented Apr 23, 2024

same problem here

@look4u-ovo
Copy link

same problem here

It seems that only windows has this error.

@chris-olszewski
Copy link
Contributor

@xoxosos @seeibt

A few questions:

  • Can you verify if that the underlying script is producing valid UTF-8 as it's output? If so could you provide the output that's getting produces by the underlying task when run without turbo?
  • Is this happening consistently? If it is happening consistently, then if you could provide a reproduction repository that would help greatly.

@MateusZ36
Copy link

One thing worked for me:

Check the box "beta use unicode utf-8 for worldwide language support" located at:

Time & Language -> Language -> "Administrative Language Settings"

@hdw1219
Copy link

hdw1219 commented Apr 30, 2024

One thing worked for me:

Check the box "beta use unicode utf-8 for worldwide language support" located at:

Time & Language -> Language -> "Administrative Language Settings"

Working for me on win 10!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: windows Issues specifically reproducing on Windows kind: bug Something isn't working needs: author input owned-by: turborepo
Projects
None yet
Development

No branches or pull requests

9 participants