在使用bower,nodejs,grunt构建项目时出错

时间:2016-05-25 07:05:04

标签: javascript angularjs node.js

我使用nodejs创建了项目,

bower包已安装但未在index.html中添加标签,因此我手动插入了脚本标签,如../ bower_components

所以我收到了这个错误

http://localhost:9000/bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
2016-05-24 18:11:04.419 http://localhost:9000/bower_components/angular-ui-router/release/angular-ui-router.js Failed to load resource: the server responded with a status of 404 (Not Found)
2016-05-24 18:11:04.581 angular.js:4587 Uncaught Error: [$injector:modulerr] Failed to instantiate module bulbulPortal20App due to:
Error: [$injector:modulerr] Failed to instantiate module ui.bootstrap due to:
Error: [$injector:nomod] Module 'ui.bootstrap' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

以后要避免这些错误我必须做什么?

0 个答案:

没有答案