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.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

8 Answer(s)
  • User Avatar
    0
    ccernat created

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    ccernat created

    Hi and tks for reply!

    Did it. Same. :(

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    ccernat created

    Shared ;) Tks.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Remove this

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Add new migrations.

    dotnet ef migrations add xxx

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 09, 2026, 11:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.