我是AngularJs& amp;的初学者。当我尝试使用bower安装Angular Material Icon时,我得到 ENOTFOUND 包保存未找到错误。
我正在使用这个命令
bower install save angular-material-icons
这些是我的依赖
"dependencies": {
"angular": "~1.5.8",
"angular-animate": "~1.5.8",
"angular-messages": "~1.5.8",
"angular-touch": "~1.5.8",
"angular-aria": "~1.5.8",
"angular-resource": "~1.5.8",
"angular-material": "^1.1.1",
"moment": "~2.10.6",
"angular-sanitize": "~1.5.8",
"angular-ui-router": "^0.3.1",
"material-design-icons-iconfont": "^3.0.0",
"google-open-sans": "^1.0.0",
"angular-route": "1.5.8",
"ngstorage": "^0.3.11",
"smDateTimeRangePicker": "^1.6.1",
"ng-intl-tel-input": "^2.0.0",
"angular-youtube-mb": "^1.3.1",
"leaflet": "^1.0.2",
"md-data-table": "^2.2.0"
}
请建议如果有人遇到类似的问题。
答案 0 :(得分:1)
我不是专家,但我非常确定您应该以这种方式使用save
参数:
bower install angular-material-icons --save