Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bower install stuck at the json output: "message": "Answer",

There are two issues that I am facing basically, while using Intellij

  1. I dont understand why the output of bower install is a bunch of json messages. When I do bower install in my Webstorm, I see single line statements and prompts if I have to specify a version.

    {
    "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"
     }
    
  2. My bower install just gets stuck at the json mentioned above point like its looking for a prompt. I am not able to write anything and actually it does not ask me anything about what version I need or questions like that.

How can I get the standard output format for bower install?

My bower.json is as follows:

{
  "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"
  }
}
like image 372
Tisha Avatar asked Apr 27 '16 19:04

Tisha


1 Answers

Figured this out.

I had to remove "json": "bower.json" from .bowerrc file

like image 164
Tisha Avatar answered Nov 15 '22 08:11

Tisha