Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/454.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 未能实例化模块custFormApp-AngularJS_Javascript_Html_Asp.net_Angularjs_Asp.net Mvc - Fatal编程技术网

Javascript 未能实例化模块custFormApp-AngularJS

Javascript 未能实例化模块custFormApp-AngularJS,javascript,html,asp.net,angularjs,asp.net-mvc,Javascript,Html,Asp.net,Angularjs,Asp.net Mvc,我有一段时间都在犯这种令人挠头的错误。已搜索了一些问题,但似乎其中没有一个是相关的:- Uncaught Error: [$injector:modulerr] Failed to instantiate module custFormApp due to: Error: [$injector:modulerr] Failed to instantiate module uiGmapgoogle-maps due to: Error: [$injector:moduler

我有一段时间都在犯这种令人挠头的错误。已搜索了一些问题,但似乎其中没有一个是相关的:-

    Uncaught Error: [$injector:modulerr] Failed to instantiate module custFormApp due to:
    Error: [$injector:modulerr] Failed to instantiate module uiGmapgoogle-maps due to:
    Error: [$injector:modulerr] Failed to instantiate module uiGmapgoogle-maps.directives.api due to:
    Error: [$injector:modulerr] Failed to instantiate module uiGmapgoogle-maps.directives.api.models.parent due to:
    Error: [$injector:modulerr] Failed to instantiate module uiGmapgoogle-maps.directives.api.models.child due to:
    Error: [$injector:modulerr] Failed to instantiate module uiGmapgoogle-maps.directives.api.utils due to:
    Error: [$injector:modulerr] Failed to instantiate module uiGmapgoogle-maps.extensions due to:
    Error: [$injector:modulerr] Failed to instantiate module uiGmapgoogle-maps.providers due to:
    Error: [$injector:modulerr] Failed to instantiate module nemLogging due to:
    Error: [$injector:nomod] Module 'nemLogging' 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.3.15/$injector/nomod?p0=nemLogging
        at http://localhost:4422/Scripts/angular.js:63:12
        at http://localhost:4422/Scripts/angular.js:1774:17
        at ensure (http://localhost:4422/Scripts/angular.js:1698:38)
        at module (http://localhost:4422/Scripts/angular.js:1772:14)
        at http://localhost:4422/Scripts/angular.js:4115:22
        at forEach (http://localhost:4422/Scripts/angular.js:323:20)
        at loadModules (http://localhost:4422/Scripts/angular.js:4099:5)
        at http://localhost:4422/Scripts/angular.js:4116:40
        at forEach (http://localhost:4422/Scripts/angular.js:323:20)
        at loadModules (http://localhost:4422/Scripts/angular.js:4099:5)
    http://errors.angularjs.org/1.3.15/$injector/modulerr?

<!--- some 80-100 lines here then again -->

at http://localhost:4422/Scripts/angular.js:63:12
    at http://localhost:4422/Scripts/angular.js:4138:15
    at forEach (http://localhost:4422/Scripts/angular.js:323:20)
    at loadModules (http://localhost:4422/Scripts/angular.js:4099:5)
    at createInjector (http://localhost:4422/Scripts/angular.js:4025:11)
    at doBootstrap (http://localhost:4422/Scripts/angular.js:1452:20)
    at bootstrap (http://localhost:4422/Scripts/angular.js:1473:12)
    at angularInit (http://localhost:4422/Scripts/angular.js:1367:5)
    at HTMLDocument.<anonymous> (http://localhost:4422/Scripts/angular.js:26304:5)
    at fire (http://localhost:4422/Scripts/jquery-1.10.2.js:3062:30)

输入{
填充物:5px;
边框:1px实心#A5A5;
}
input.ng-dirty.ng-无效{
边框:1px纯红;
背景色:rgb(255244244);
}
.错误{
颜色:红色;
}
.google地图容器{
高度:300px;
盒影:2件2件3件3件浅灰色;
}
.谷歌地图{
宽度:80%;
身高:100%;
保证金:自动0px;
}
{{marker.title} {{marker.address}

@节脚本{ @*AngularJS库*@ @**@ @*谷歌地图*@
}
nemloging
模块缺失。 这可能是由
uiGmapgoogle映射使用的


我的猜测是,这个第三方模块缺少一些依赖项js。请再次查看文档。

是的,但可以在angular-google-maps-street-view.js文件中找到。我也试着把它包括进去。但什么也没发生。可能是重复的,我知道了。我将脚本标记更改为从cdn加载。一切都开始起作用了。谢谢