Base solution for your next web application
Open Closed

Uncaught Error: [$injector:modulerr] #1432


User avatar
0
yucapro created

Hi,

I purchased a license for your product last month and have been working with it on my development IIS server very successfully since that time. Yesterday we "published" the application from Visual Studio 2013 to our staging IIS server hosted with Rackspace.

For some reason, this published version gives an error after login that we do not see on a local, but similar IIS server. We have verified that the IIS setting are identical and that all the files have been uploaded, but we have not been able to bypass this error:

Error: [$injector:modulerr] http://errors.angularjs.org/1.5.0/$injector/modulerr?p0=app&p1=Error%3A%20%…Flibs%2Fjs%3Fv%3DFyTCIswNsNeRKILjS-OFhtleZi4-HnWh8e4MlVlitOc1%3A1380%3A135)

Any idea?


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Because of minified javascripts, it's hard to figure out the error. Can you try it after adding

    debug="true"
    

    to your web.config temporarily. It should disable script minification.

  • User Avatar
    0
    jamsecgmbh created

    We get the same error after our first publishing to the productive web server:

    angular.js:4526Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.5.0/$injector/modulerr?p0=app&p1=Error%3A%20%…3A%2F%2Flocalhost%2FCastingDatenbank%2FScripts%2Fangular.min.js%3A20%3A449)
    

    How did you fix your problems - I would be very happy if you can give me a hint. Thank you very much!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you try with disabling minification on your project ? In that way we can see a better exception message.

  • User Avatar
    0
    jamsecgmbh created

    Hi,

    I get one error I can imagine why and another one I am completly not sure about:

    angular.min.js:68 Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
    Error: [$injector:modulerr] Failed to instantiate module oc.lazyLoad due to:
    Error: [$injector:nomod] Module 'thatisuday.dropzone' 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.
    

    The module oc.lazyLoad is something I have never touched. The javascript file is embedded and accessible. Do you have an idea what I can check?

    I will try to fix the dropzone error by including the javascript files needed by the module - I have missed to include them as project files, just copied them into the folder.

    Thank you!

  • User Avatar
    0
    jamsecgmbh created

    Fixing the problem of the missing dropzone files did result in fixing the problem with LazyLoad. Everything works fine now. Thank you!