Open Closed

Getting errors for ABP.IO BLAZOR project. #652


User avatar
0
prasad.gore created
  • ABP Framework version: 4.0.0
  • UI type: BLAZOR
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue: Run at localhost

Getting below errors while running BLAZOR project at local.


7 Answer(s)
  • User Avatar
    1
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I can't reproduce problem, can you provide more steps or simaple project? thanks.

  • User Avatar
    0
    prasad.gore created

    Hi,

    1. Create a ABP.IO Blazor Project with ABP SUITE
    2. Open it in Visual Studio
    3. Build it
    4. Run Blazor Project in IIS Express (it will keep loading continuosaly, and if we check the web console then we can see the errors shown in below screenshot)

    Even if we get the sample Blazor BookStore Project [https://github.com/abpframework/abp-samples/tree/master/BookStore-Blazor-EfCore] then also we can find similar javascript errors.

  • User Avatar
    0
    david.hurtado created

    I had a similar error: what I see the Blazorise nugget component you have referenced is wrong. You must use at least version 0.9.3-preview2; Since from that version it is compiled to MS Framework 5.0. You need to change the initialization in the Blazor project which changed as well.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    As david.hurtado said.

    You need add <add key="BlazoriseMyGet" value="https://www.myget.org/F/blazorise/api/v3/index.json" /> to your NuGet.Config and restore package.

  • User Avatar
    0
    apoorva.lele created

    Hi,

    I am also facing this issue. Please see below a snapshot of my Nuget.config file and blazor .csproj file. I have installed the latest packages for Blazorise and Blazorise.Icons.FontAwesome from MyGet. But I am still getting the same error. Do I need to make any other changes that I might be missing?

    Nuget.config snapshot

    Blazor.csproj

    Same error as above

    In the second Javascript error in the console it's showing Blazorise 0.9.2.2. Could there be a referenc eI have missed and is causing the issue?

  • User Avatar
    0
    apoorva.lele created

    Hi,

    I was able to solve this issue. I was missing the Blazorise.Bootstrap Package reference which was causing the error.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    We have fixed this problem, ifi you still have question , please reopen

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11