node.js - output is not tty

查看:157
本文介绍了node.js - output is not tty的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

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

解决方案

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"

这篇关于node.js - output is not tty的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆