angular-google-maps在离子中的nemlogging错误 [英] angular-google-maps nemlogging error in ionic

查看:206
本文介绍了angular-google-maps在离子中的nemlogging错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在项目中使用Bower安装angular-google-maps库后出现此错误。

I get this error after install angular-google-maps library with Bower in my project.

Uncaught Error: [$injector:modulerr] Failed to instantiate module starter 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.

为什么我会收到此错误?

Why am I get this error?

推荐答案

你必须包含angular-simple-logger.js-File,因为angular-simple-logger是angular-google-maps的依赖。

You have to include the angular-simple-logger.js-File as angular-simple-logger is a dependency of angular-google-maps.

< script src =lib / angular-simple-logger / dist / angular-simple-logger.min.js>< / script>

这篇关于angular-google-maps在离子中的nemlogging错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆