yarnpkg / yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
https://classic.yarnpkg.com
Other
41.43k stars 2.72k forks source link

Yarn commands adds space after output and cursor disappears in Git Bash after updating to Windows 10 1809 #6972

Open mathewhany opened 5 years ago

mathewhany commented 5 years ago

Do you want to request a feature or report a bug? Bug

What is the current behavior? Some yarn commands such as yarn --vesrion adds empty space after the result: image

This only happens in Git Bash and VSCode Integrated Terminal running Git Bash, it doesn't happen when using yarn.cmd --version and also this doesn't happen in cmd.exe or Hyper running Git Bash, and this only started to happen after updating to Windows 10 build 1809.

If the current behavior is a bug, please provide the steps to reproduce. Run yarn --version in Git Bash

What is the expected behavior? Commands show output without adding space after it, like this: image

Please mention your node.js, yarn and operating system version. Node.js: 11.6.0 Yarn: 1.14.0 and also tried it in 1.13.0 OS: Windows 10 build 1809 Git: 2.20.1

bj00rn commented 5 years ago

seems to be Windows issue https://github.com/Microsoft/vscode/issues/45693#issuecomment-449495252

bj00rn commented 5 years ago

@imsnif I can confirm output is now working as expected in Windows Version 10.0.18334 Build 18334

issue can be closed

Igor-Vuk commented 5 years ago

I am still having this problem. It doesnt matter if I use bash or cmd. I am on Windows 10.

bj00rn commented 5 years ago

I am still having this problem. It doesnt matter if I use bash or cmd. I am on Windows 10.

what Windows build are you on?

IlCallo commented 5 years ago

I still have this problem (only with Git Bash), I'm on W10 build 17763.437

Igor-Vuk commented 5 years ago

I am still having this problem. It doesnt matter if I use bash or cmd. I am on Windows 10.

what Windows build are you on?

I am on the build 17763.475

bj00rn commented 5 years ago

I am still having this problem. It doesnt matter if I use bash or cmd. I am on Windows 10.

what Windows build are you on?

I am on the build 17763.475

works in Windows Version 10.0.18334 Build 18334 last i tried. try upgrading

andywampir commented 5 years ago

I was update OS to Windows 10 build 1903 and that thing works great. Thanks @bj00rn.

tanjamado commented 5 years ago

@mathewhany Do you still have the same issue because i do (when i run a node command like node index.js) and I can't find a resole to that :(

image

IlCallo commented 5 years ago

Yep, never went away

tanjamado commented 5 years ago

Yep, never went away

This is frustrating, I've tried to reinstall git bash and nothing :(

bj00rn commented 5 years ago

@dragonSiin @IlCallo what windows build are you on?

tanjamado commented 5 years ago

@bj00rn Windows 10 64bits x64

bj00rn commented 5 years ago

@bj00rn Windows 10 64bits x64

what build number?

you need at least 17692+

IlCallo commented 5 years ago

Sorry for delay.

tanjamado commented 5 years ago

Same for me : 17763.678

IlCallo commented 5 years ago

Sorry for delay.

  • Windows 10 Pro 64bit
  • Version 1809
  • Build 17763.678

Updated W10 version (actually it updated itself, but whatever) and now it's finally back to normal :)

tanjamado commented 5 years ago

It works now ! thanks a lot !

imnickvaughn commented 5 years ago

works!!

jamesMeier commented 4 years ago

Is there a fix for Windows 10 Home 1809 17763.864

This is the latest build release for home edition (also running Node, however, that shouldn't matter)