我在尝试注册凉亭套餐时遇到错误。
错误是未发现的令牌:
我的bower.json是
{
"name": "cordova-meets-angular",
"version": "0.0.1",
"homepage": "https://github.com/RefineriaWeb/cordovaMeetsAngular",
"description": "A JS Wrapper for cordova plugins to be used in Angular Mobile projects",
"moduleType": [
"globals"
],
"dependencies":[
"angular": "~1.2.23"
],
"keywords": [
"angular",
"cordova",
"plugins",
"mobilejs"
],
"license": "MIT",
"private": false,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
答案 0 :(得分:1)
问题在于依赖项字段。您使用的是数组而不是哈希:
<强> dependencies 强>
类型:对象
使用包名称的简单哈希指定依赖关系 semver兼容标识符或URL。
依赖项字段应为:
"dependencies": {
"angular": "~1.2.23"
},