Open Closed

Failed for angular: v4.x to v5.0 Migration #2313


User avatar
0
abpVAndy created
  • ABP Framework version: v4.4.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi, I try to upgrade from v4 to v5. The backend code(C#) upgraded successfully. But for the Client UI Angular, I failed. I upgrade from abp suite page, it show that "NPM packages updated to v5.0.0 in the solution Fly.SunShop." But I check the "package.json" in the angular project, it still 4.4.4. Please check below images.

Please give me more detail guid how to upgrade the client (Angular) project.

Thanks,


6 Answer(s)
  • User Avatar
    0
    abpVAndy created

    And the Augular client show out like: left menu and top menu messed up.

  • User Avatar
    0
    abpVAndy created

    After I install: npm install gulp --save-dev

    it still show below...

  • User Avatar
    0
    bunyamin created

    It seems that there is a bug with Suite which doesn't update angular dependencies. Could you try to update the angular packages to v5.0.0? You can update any package starting with @abp and @volo.

  • User Avatar
    0
    abpVAndy created

    Thanks bunyamin.

    Yes, the suite should has bugs. And the I follow this works: https://docs.abp.io/en/abp/latest/Upgrading

    If the suite has bug for this, could you please refund the ticket to me for this? thx

    Another, I find the organization seems that issues for the css style or Bootstrap issue. thx

  • User Avatar
    0
    bunyamin created

    Can you check the abp and volo packages from node_modules? You still might not be using v5. It looks fine for me when I run the project. Also, your credit is refunded. Thanks for reporting this issue.

  • User Avatar
    0
    abpVAndy created

    Yes. Thanks,

    Now works. I will close it. thx

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38