Base solution for your next web application
Open Closed

Sweetalert error and Debugging the Angular app #6538


User avatar
0
josepereira created

Hello,

I'm in my "trial" period of 30 days using ASPNet Zero, and trying to get my head around the whole project, and decide if it will work for me not. So while doing that I've just downloaded a demo project, and set up everthing. The app is running fine however, the sweetalert messages are not being displayed for some reason, and I'm also not sure how is the best way to debug the client side. I'm new to angular and VS code could you also help me or have any document that could guide me on the debug process. I'm attaching the error message that is being displayedon Chrome console so you guys can see.

Thank you.! Screen Shot 2019-02-24 at 9.19.40 PM.png


8 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    What is your Zero version information?

    May be related to this? https://github.com/aspnetzero/aspnet-zero-core/issues/2160

  • User Avatar
    0
    josepereira created

    I'm using V6.6.0, it is latest one as I bought apsnetzero a couple of weeks ago, and the link that you sent is broken, it is returning a 404 - not found.

    I did not add anything in the project it is brand new from scrach, downloaded from the site and ran it.

    Thanks

  • User Avatar
    0
    aaron created
    Support Team

    It is fixed in v6.6.1.

    To access the ASP<span></span>.NET Zero private GitHub repositories, invite yourself to become a member of the ASP<span></span>.NET Zero organization using your GitHub username: https://aspnetzero.com/LicenseManagement

  • User Avatar
    0
    josepereira created

    Hello Aaron, Thank you for your reply.

    I've got the latest version 6.7.0, and in fact the error is not happening anymore, and the message is displaying however the spin keeps running forever freezing the whole app, an error message is also displayed in the console. Can you explain me why is it happening and how to fix it? I've attached the screenshoot from it.

    Obs:It is only happening with error messages, success message are running fine.

    Thanks! Screen Shot 2019-02-25 at 11.09.33 PM.png

  • User Avatar
    0
    josepereira created

    Any update on this?

  • User Avatar
    0
    maliming created
    Support Team

    @josepereira Looks like this is a bug, I will fix it. After that I am replying to you.

  • User Avatar
    0
    josepereira created

    Ok Thank you.

  • User Avatar
    0
    maliming created
    Support Team

    Please check this PR: https://github.com/aspnetzero/aspnet-zero-core/pull/2214