新手,求助!yeoman grunt serve后页面不显示!先谢过了!
发布于 4天前 作者 ice-penguin 55 次浏览 来自 问答

grunt serve能让程序跑起来,但是web部分没显示界面,报以下错误:

Error: [$injector:modulerr] Failed to instantiate module easybuywebApp due to: State ‘settings’’ is already defined registerState@http://localhost:9000/bower_components/angular-ui-router/release/angular-ui-router.js:2325:1 state@http://localhost:9000/bower_components/angular-ui-router/release/angular-ui-router.js:2835:5 @http://localhost:9000/app/account/account.routes.js:5:1 invoke@http://localhost:9000/bower_components/angular/angular.js:4203:14 runInvokeQueue@http://localhost:9000/bower_components/angular/angular.js:4109:11 loadModules/<@http://localhost:9000/bower_components/angular/angular.js:4118:11 forEach@http://localhost:9000/bower_components/angular/angular.js:323:11 loadModules@http://localhost:9000/bower_components/angular/angular.js:4099:5 createInjector@http://localhost:9000/bower_components/angular/angular.js:4025:11 bootstrap/doBootstrap@http://localhost:9000/bower_components/angular/angular.js:1452:20 bootstrap@http://localhost:9000/bower_components/angular/angular.js:1473:1 angularInit@http://localhost:9000/bower_components/angular/angular.js:1367:5 @http://localhost:9000/bower_components/angular/angular.js:26304:5 jQuery.Callbacks/fire@http://localhost:9000/bower_components/jquery/dist/jquery.js:3143:10 jQuery.Callbacks/self.fireWith@http://localhost:9000/bower_components/jquery/dist/jquery.js:3255:7 .ready@http://localhost:9000/bower_components/jquery/dist/jquery.js:3467:1 completed@http://localhost:9000/bower_components/jquery/dist/jquery.js:3498:3

在地址栏中访问,控制台有响应, 希望能得到解答,再次先谢过!

回到顶部