Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UiUtils module is malformed and blocks fresh generated application #129

Open
emanueleDiVizio opened this issue Dec 31, 2015 · 0 comments
Open

Comments

@emanueleDiVizio
Copy link

Just after generating the application using yo loading the homepage generates two error in the browser (chrome) console,
one regarding the ui-utils import in index html http://localhost:9001/bower_components/angular-ui-utils/ui-utils.js -> 404 and one in angular injector

Uncaught Error: [$injector:modulerr] Failed to instantiate module uniUK due to:
Error: [$injector:modulerr] Failed to instantiate module ui.utils due to:
Error: [$injector:nomod] Module 'ui.utils' 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.

that's because in bower-compnents/angular-ui-utils there's only a malformed ui-utils-ieshiv.js file, which I report content here:

(function (window, document) {
  "use strict";

  var tags = [ "ngInclude", "ngPluralize", "ngView", "ngSwitch", "uiCurrency", "uiCodemirror", "uiDate", "uiEvent",
                "uiKeypress", "uiKeyup", "uiKeydown", "uiMask", "uiMapInfoWindow", "uiMapMarker", "uiMapPolyline",
                "uiMapPolygon", "uiMapRectangle", "uiMapCircle", "uiMap

The app starts working after de-referencing the ui-utils module.

No custom user action is involved, just running yo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant