LoginSignup
2
1

More than 3 years have passed since last update.

stdout is not a ttyに叱られる

Posted at

完全に自分用の健忘録です

Git Bash(ver2.28)で実行しようとした際に、

$ node hogehuga.js 
stdout is not a tty

と叱られてしまった。悲しい。
原因はMinTTYのアレです。大体winptyを先頭につければ解決すると思ってたけど、今回は解決しなかった。
Gitを再インストールしてもダメ。

5分くらい悩んで、拡張子をつけたら動いた。

$ node.exe hogehuga.js

以下参考
https://github.com/mintty/mintty/wiki/Tips#inputoutput-interaction-with-alien-programs

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1