Open Closed

Error when change to release mode #3506


0
junior1986 created

Hi, we are trying to publish in release mode, but we are getting errors in the minified files, using asp.net mvc 5 with angular 1,

https://docs.angularjs.org/error/$injector/modulerr?p0=app&p1=Error:%20%5B$injector:unpr%5D%20http:%2F%2Ferrors.angularjs.org%2F1.6.4%2F$injector%2Funpr%3Fp0%3Dn%0A%20%20%20%20at%20https:%2F%2Fapp.skanix.com.pe%2FBundles%2FApp%2Flibs%2Fjs%3Fv%3DZgFZ65Fn-gwTHh1kPoch1oLZDupfh3_MgLQg-12ZnGs1:2762:425%0A%20%20%20%20at%20https:%2F%2Fapp.skanix.com.pe%2FBundles%2FApp%2Flibs%2Fjs%3Fv%3DZgFZ65Fn-gwTHh1kPoch1oLZDupfh3_MgLQg-12ZnGs1:2801:375%0A%20%20%20%20at%20d%20(https:%2F%2Fapp.skanix.com.pe%2FBundles%2FApp%2Flibs%2Fjs%3Fv%3DZgFZ65Fn-gwTHh1kPoch1oLZDupfh3_MgLQg-12ZnGs1:2799:92)%0A%20%20%20%20at%20e%20(https:%2F%2Fapp.skanix.com.pe%2FBundles%2FApp%2Flibs%2Fjs%3Fv%3DZgFZ65Fn-gwTHh1kPoch1oLZDupfh3_MgLQg-12ZnGs1:2799:333)%0A%20%20%20%20at%20Object.invoke%20(https:%2F%2Fapp.skanix.com.pe%2FBundles%2FApp%2Flibs%2Fjs%3Fv%3DZgFZ65Fn-gwTHh1kPoch1oLZDupfh3_MgLQg-12ZnGs1:2799:418)%0A%20%20%20%20at%20d%20(https:%2F%2Fapp.skanix.com.pe%2FBundles%2FApp%2Flibs%2Fjs%3Fv%3DZgFZ65Fn-gwTHh1kPoch1oLZDupfh3_MgLQg-12ZnGs1:2798:64)%0A%20%20%20%20at%20https:%2F%2Fapp.skanix.com.pe%2FBundles%2FApp%2Flibs%2Fjs%3Fv%3DZgFZ65Fn-gwTHh1kPoch1oLZDupfh3_MgLQg-12ZnGs1:2798:203%0A%20%20%20%20at%20q%20(https:%2F%2Fapp.skanix.com.pe%2FBundles%2FApp%2Flibs%2Fjs%3Fv%3DZgFZ65Fn-gwTHh1kPoch1oLZDupfh3_MgLQg-12ZnGs1:2763:495)%0A%20%20%20%20at%20g%20(https:%2F%2Fapp.skanix.com.pe%2FBundles%2FApp%2Flibs%2Fjs%3Fv%3DZgFZ65Fn-gwTHh1kPoch1oLZDupfh3_MgLQg-12ZnGs1:2797:476)%0A%20%20%20%20at%20eb%20(https:%2F%2Fapp.skanix.com.pe%2FBundles%2FApp%2Flibs%2Fjs%3Fv%3DZgFZ65Fn-gwTHh1kPoch1oLZDupfh3_MgLQg-12ZnGs1:2802:44

Hope you can help please.


3 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @junior1986,

    It is hard to find problem using this error message.

    • Did you recently updated any client side library ?
    • Did you publish your app before ? If so, was it working.

    Thanks.

  • 0
    junior1986 created

    Hi, its the first time publishing our app in release mode, we not upgrade any libray yet, how can check?, you test the release version of the project?

  • 0
    alper created
    Support Team

    This error occurs when a module fails to load due to some exception. The error message above should provide additional context.

    A common reason why the module fails to load is that you've forgotten to include the file with the defined module or that the file couldn't be loaded.

    This error can also occur if you have tried to add your own components to the ng module.