加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

angularjs – yeoman grunt错误:[$injector:modulerr]无法实例

发布时间:2020-12-17 08:53:12 所属栏目:安全 来源:网络整理
导读:我在使用ui-router时遇到了问题 自耕农咕噜咕噜. 如果我跑 grunt serve 该脚本有效 同 grunt 我有: Connected on socket um1BuGgogBUojHlvIawT with id 77936474Chrome 30.0.1599 (Linux) Controller: MainCtrl should attach a list of awesomeThings to t
我在使用ui-router时遇到了问题
自耕农咕噜咕噜.

如果我跑

grunt serve

该脚本有效

grunt

我有:

Connected on socket um1BuGgogBUojHlvIawT with id 77936474
Chrome 30.0.1599 (Linux) Controller: MainCtrl should attach a list of awesomeThings to the scope FAILED
    Error: [$injector:modulerr] Failed to instantiate module browserApp due to:
    Error: [$injector:modulerr] Failed to instantiate module ui.router due to:
    Error: [$injector:nomod] Module 'ui.router' 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.
    http://errors.angularjs.org/1.2.16/$injector/nomod?p0=ui.router
        at /home/whisher/browser/app/bower_components/angular/angular.js:78:12

有什么问题 !

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读