搜尋

首頁  >  問答  >  主體

node.js - output is not tty

用命令`
node --v8-options | grep harmony
查看nodejs实现es6的新特性,输出结果是
output is not tty

PHP中文网PHP中文网2863 天前593

全部回覆(1)我來回復

  • 怪我咯

    怪我咯2017-04-17 13:52:02

    git bash的問題
    The reason this doesn’t work as expected appears to be that git bash is passing the command through to the Windows cmd shell, and not handling the output stream correctly
    參考
    可以在power shell裡面運作node --v8-options | Select-String "harmony"

    回覆
    0
  • 取消回覆