自将bower更新为版本1.5.2后,在安装bower时出现EINVALID
错误:
使用以前版本的bower(1.3.12),没有错误。
可以忽略这些错误吗?
我的bower.json文件:
{
"name": "project",
"version": "1.0.0",
"dependencies": {
"jquery": "components/jquery#~2.1.1",
"js-cookie": "~2.0",
"bootswatch-scss": "~3",
"bootstrap-sass-official": "3.3.*",
"select2-bootstrap-css" : ">=1.4.6",
"tinymce": "4.2.*",
"bootstrap-table": "~1.8",
"bootstrap-datepicker": "~1.4",
"eonasdan-bootstrap-datetimepicker": "~4.15",
"moment": "~2.10",
"select2-bootstrap-theme": "0.1.0-beta.4",
"hinclude": "0.9.*"
}
}
更新
此时,我回归到版本1.3.12
npm uninstall bower -g
npm install -g bower@1.3.12