Starts in:
2 DAYS
4 HRS
59 MIN
33 SEC
Starts in:
2 D
4 H
59 M
33 S
Open Closed

Error after upgrading 6.x to 7.0 in Blazor WASM #4294


User avatar
0
ccernat created
  • ABP Framework version: v7.0.0
  • UI type: Blazor wasm
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: Uncaught SyntaxError: Cannot use 'import.meta' outside a module (at dotnet.7.0.1.fjzn4o1736.js:8:27)
  • Steps to reproduce the issue:Upgrate from 6.x to 7.0

Just upgraded ABP from 6.x to 7.0

Started my Blazor wasm site and got that error and all halts.

I cleaned all: solution, deleted the big / obj folder, hard refresh on browser, etc.

Nothing works.

Any idea why this is happening? Does anyone experience this also?

Tks.


8 Answer(s)
  • User Avatar
    0
    ccernat created

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you update the ABP CLI to 7.0 and run abp bundle in your blazor wasm project folder?

  • User Avatar
    0
    ccernat created

    Hi and tks for reply!

    Did it. Same. :(

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share the project with me? liming.ma@volosoft.com

  • User Avatar
    0
    ccernat created

    Shared ;) Tks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Remove this

  • User Avatar
    0
    ccernat created

    Hi!

    No more error of that kind, but now I have these kind of errors:

    And this is repeating for: PermissionGroups and FeatureGroups in Logs of HttpApi.Host

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Add new migrations.

    dotnet ef migrations add xxx

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