Skip to content

UiUtils module is malformed and blocks fresh generated application #129

@emanueleDiVizio

Description

@emanueleDiVizio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions