Bower安装显示提示输入消息debian [英] Bower install display prompt input message debian

查看:210
本文介绍了Bower安装显示提示输入消息debian的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的项目中执行安全性问题



我正在我的debian操作系统上执行 bower install 命令
,但是当它识别在我的bower.json上定义的依赖项。



它被困在我不明白的部分



这是我在命令行中看到的最后一部分

 dependencies:{
angular:{
endpoint:{
name:angular,
source:angular,
target ^ 1.0.8
},
canonicalDir:/home/ricco/.cache/bower/packages/060a9fe0e60a0d3d6c9ed350cde03e61/1.5.4,
pkgMeta:{
name:angular,
version:1.5.4,
license:MIT,
main:./angular.js ,
ignore:[],
依赖:{},
主页:https://github.com/angular/bower-angular,
_release:1.5.4,
_resolution:{
type :version,
tag:v1.5.4,
commit:b972d5aa130bef5c4d931f22bd11627207ea35ca
},
_source:https:// github 。
_target:> = 1
},
依赖关系:{},
nrDependants :1
}
},
nrDependants:1
}
]
}
]
}
$,
type:input,
message:Answer,
name:prompt,
level

然后在不满[/ b]

  {
type:input,
message:Answer,
name:prompt,
level:prompt

这是因为某些原因。



这是我的bower.json

  {
name:ng-pieplate,
version:0.3.2,
devDependencies:{
angular:〜1.2 ,
angular-mocks:〜1.2,
bootstrap:〜3.1,
angular-bootstrap:〜0.10.0,
angle-ui-router:〜0.2,
angular-route:1.5.3,
角度资源:1.5.3
}
依赖:{}
}


解决方案>

我使用角度样板 ngbp 遇到了同样的问题。



我通过从我的 .bowerrc 文件中删除以下行来解决问题:



json:bower.json


I am getting a problem trying to execute a bower install on my project

I am just executing bower install command on my debian OS but when this is recognizing the dependencies defined on my bower.json.

its got stuck in a part that I dont understand

this is the last part that i see in my command line

 "dependencies": {
          "angular": {
            "endpoint": {
              "name": "angular",
              "source": "angular",
              "target": "^1.0.8"
            },
            "canonicalDir": "/home/ricco/.cache/bower/packages/060a9fe0e60a0d3d6c9ed350cde03e61/1.5.4",
            "pkgMeta": {
              "name": "angular",
              "version": "1.5.4",
              "license": "MIT",
              "main": "./angular.js",
              "ignore": [],
              "dependencies": {},
              "homepage": "https://github.com/angular/bower-angular",
              "_release": "1.5.4",
              "_resolution": {
                "type": "version",
                "tag": "v1.5.4",
                "commit": "b972d5aa130bef5c4d931f22bd11627207ea35ca"
              },
              "_source": "https://github.com/angular/bower-angular.git",
              "_target": ">=1"
            },
            "dependencies": {},
            "nrDependants": 1
          }
        },
        "nrDependants": 1
       }
     ]
    }
   ]
  }
}, {
  "type": "input",
  "message": "Answer",
  "name": "prompt",
  "level": "prompt"

then there after dislpaying the

{
  "type": "input",
  "message": "Answer",
  "name": "prompt",
  "level": "prompt"

it got stuck there for some reason.

This is my bower.json

{
  "name": "ng-boilerplate",
  "version": "0.3.2",
  "devDependencies": {
    "angular": "~1.2",
    "angular-mocks": "~1.2",
    "bootstrap": "~3.1",
    "angular-bootstrap": "~0.10.0",
    "angular-ui-router": "~0.2",
    "angular-route":"1.5.3",
    "angular-resource":"1.5.3"
  },
  "dependencies": {}
}

解决方案

I experienced the same issue using the Angular boilerplate ngbp.

I solved the issue by removing the following line from my .bowerrc file:

"json": "bower.json"

这篇关于Bower安装显示提示输入消息debian的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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