angular-ui / angular-google-maps

AngularJS directives for the Google Maps Javascript API
http://angular-ui.github.io/angular-google-maps
2.52k stars 1.07k forks source link

nemLogging unmet dependency error #1892

Open wheelerlaw opened 8 years ago

wheelerlaw commented 8 years ago

Thanks to the guys of React-Router, for standardizing the way on how to report bugs

An issue example

Version

2.3.3

Test Case

http://jsbin.com/hicebe/edit?html,css,js,output

Direct output here

Steps to reproduce

I added angular-google-maps to my package.json, added require('angular-google-maps) to the top of the module I planned to use it on, and then added uiGmapgoogle-maps to the list of angular module depencies. I then opeened up my web browser.

Expected Behavior

My app to appear in the browser

Actual Behavior

Instead, I received a white, blank page, with the following console output:

angular.js:68 Uncaught Error: [$injector:modulerr] Failed to instantiate module App due to:
Error: [$injector:modulerr] Failed to instantiate module App.SingleEntity 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.5.5/$injector/nomod?p0=nemLogging
wheelerlaw commented 8 years ago

I tried adding angular-simple-logger to my devDependencies and I still received the error.