Skip to content

Yarn throws "stdout is not a tty" in Git Bash #2591

Closed
@IgorAufricht

Description

@IgorAufricht

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

What is the current behavior?
I tried installing yarn using the installation script from https://yarnpkg.com/en/docs/install#alternatives-tab (I'm on Windows, but I don't have admin rights, so I can't use the Windows installer). After downloading the script it fails:

$ curl -o- -L https://yarnpkg.com/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6742    0  6742    0     0   1694      0 --:--:--  0:00:03 --:--:--  1701
Installing Yarn!
/c/Users/myuser/.yarn/bin/yarn
stdin is not a tty

When I try to run the install.sh file directly, I get the same error:

$ "./install.sh"
Installing Yarn!
/c/Users/myuser/.yarn/bin/yarn
stdout is not a tty

If the current behavior is a bug, please provide the steps to reproduce.

  1. Download the install.sh file from https://yarnpkg.com/en/docs/install#alternatives-tab
  2. Run from Git bash

What is the expected behavior?
It should install successfully.

Please mention your node.js, yarn and operating system version.
node.js v6.3.0
yarn v0.19.1
Windows 7 x64
git version 2.11.0.windows.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions