Open Closed

[Module not found] - Package path ./extensions is not exported from package ng.theme.shared #6866


User avatar
0
trannguyenphucanh created
  • ABP Framework version: v8.0.4
  • UI Type: Angular
  • Database System: EF Core (MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi Support Team,

I encountered this issue after upgraded the framework to v8 (Angular 17): Module not found: Error: Package path ./extensions is not exported from package C:\My_Project\angular\node_modules\@abp\ng.theme.shared (see exports field in C:\My_Project\angular\node_modules\@abp\ng.theme.shared\package.json)

Is it a compatible issue or from the library itself? Prior to v8, @abp\ng.theme.shared always has ./extensions path in package.json file, now it is gone:

Could you guys take a look at it?


4 Answer(s)
  • User Avatar
    0
    trannguyenphucanh created

    Hi, any update?

  • User Avatar
    0
    yusuf.cirak created
    Support Team Angular Developer

    Hi, any update?

    The extensions package has been relocated under the components package due to circular dependency errors it was causing.

    You can find more information about this change in this pull request.

    If you have updated your ABP dependencies, please note that you will now need to import from @abp/ng.components/extensible.

  • User Avatar
    0
    trannguyenphucanh created

    Thanks. I resolved by importing either @abp/ng.components/extensible or @abp\ng.theme.shared instead.

    One more thing, I encountered yet another issue:

    ../../node_modules/@angular/common/fesm2020/common.mjs:3049:12-32 - Error: export '╔╡╔╡InputFlags' (imported as 'i0') was not found in '@angular/core'

    The latest @angular/core version has fesm2022 folder instead of fesm2020:

    Here is my CLI details:

  • User Avatar
    0
    trannguyenphucanh created

    Hi, any update?

    Edit: Nevermind, I downgraded all angular libraries to ~17.0.0, all errors are gone.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11