Base solution for your next web application
Open Closed

Uncaught ReferenceError: cloneDeep__default is not defined #9577


User avatar
0
ArturCorreia created
  • What is your product version? v8.5.0.0
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core

I need help with the error below. After developing all code in a Test branch, we then did a Pull Request to bring our Master branch the same as Test (to make it Live effectively). The Azure App Services have exactly the same settings, and the code (both API and APP) is exactly the same too. However on the Live APP we get the following message:

The Live API seems fine. We can login and everything seems fine there.. We really need to fix this issue and make the App Live. Can someone help us asap please?

Thanks in advance.


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

    Hi,

    Could you share how did you use cloneDeep from lodash in your app ?

    Did you import it into your typescript file like;

    import cloneDeep from "lodash/cloneDeep";

  • User Avatar
    0
    ArturCorreia created

    We just did a code search for cloneDeep and we don't use it. Could it being used from an external component? Maybe we should ask a different question: If our Test and Live code is exactly the same, why is Test working fine and Live returning this error? Another question on my head is: Have you got a way in code to distinguish whats a Pre-Production deployment from Production? I suppose we can only have one Live/Production deployment per licence. Could we be using our Production licence on Test, and causing errors on our Live deployment?

  • User Avatar
    0
    ArturCorreia created

    Hi,

    Can we get an answer/help with this please? We really need to get this in production asap.

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ArturCorreia

    AspNet Zero doesn't have any license check for production. So, you can deploy your app to Test/Pred/Pre-Prod etc... without a problem.

    For your main problem, yes it might be related to a library you are using.

    1. Could you share how do you publish your Angular app ?
    2. Could you share your project with [email protected] ?