Bower安装卡在json输出端:"message":"Answer",

Tis*_*sha 6 intellij-idea npm webstorm angularjs bower

在使用Intellij时,我基本上面临两个问题

  1. 我不明白为什么bower install的输出是一堆json消息.当我在我的Webstorm中进行bower安装时,我会看到单行语句并提示我是否必须指定版本.

    {
    "level": "action",
    "id": "resolve",
    "message": "git://github.com/chieffancypants/angular-hotkeys.git#~1.7.0",
    "data": {
        "endpoint": {
        "name": "angular-hotkeys",
        "source": "chieffancypants/angular-hotkeys",
        "target": "~1.7.0"
     }, {
        "type": "input",
        "message": "Answer",
        "name": "prompt",
        "level": "prompt"
     }
    
    Run Code Online (Sandbox Code Playgroud)
  2. 我的凉亭安装只是卡在上面提到的json点,就像它寻找提示一样.我无法写任何东西,实际上它并没有问我任何关于我需要什么版本或类似的问题.

如何获得bower安装的标准输出格式?

我的bower.json如下:

{
  "name": "myApp",
  "dependencies": {
    "angular": "~1.5.5",
    "angular-route": "~1.5.5",
    "jquery": "~2.1.4",
    "angular-cookies": "~1.5.5",
    "some-other-application": "~0.0.2"
  }
}
Run Code Online (Sandbox Code Playgroud)

Tis*_*sha 16

想出这个.

我不得不从.bowerrc文件中删除"json":"bower.json"