本文介绍了bower初始化命令错误(gitbash)在Windows中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在gitbash中运行bower init时,显示以下错误:
$ b
问题: mintty.exe
一个href =https://github.com/bower/bower/issues/802 =nofollow>问题802 提供了一个很好的解释:
Issue:
node - evar tty = require('tty'); console.log('tty.isatty(1):'+ tty.isatty(1))
可能相关:。
$ b
解决方法:
cmd.exe / CC:\ Program Files \Git\bin\bash.exe--login -i
OR
OR
When i run bower init in gitbash ,following error is displayed:
解决方案
Issue: mintty.exe
Issue 802 does provide a good explanation:
node -e "var tty=require('tty'); console.log('tty.isatty(1):' + tty.isatty(1))"
Possibly related: mintty - issue #56 "Improve support for native console programs".
Workarounds:
cmd.exe /C "C:\Program Files\Git\bin\bash.exe" --login -i
OR
OR
这篇关于bower初始化命令错误(gitbash)在Windows中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!