Open Closed

Missing export Service and Component in @volo/abp.ng.identity #9658


User avatar
0
vu.lang created

Hi Team,

I am customizing the built-in UsersComponent from @volo/abp.ng.identity. While attempting to replace it with my own component:

I encountered an error because the ExcelService and UserSessionsComponent are not exported externally

Could you consider exporting them in the next version?

Thanks for your support


3 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • The error you are encountering is because the ExcelService and UserSessionsComponent are not exported in the public API of the @volo/abp.ng.identity package. This means you cannot import them directly in your custom component, as shown by the module not found errors in your screenshots.

    • To resolve this, these services and components must be explicitly exported in the package's index.ts files (as you illustrated in your last screenshot). Until the maintainers add these exports and publish a new version, you will not be able to use them directly from the package.

    • As a workaround, you can:

      • Create your own implementations or wrappers for the missing services/components if you need urgent access.
      • Or, fork the package, add the necessary exports, and use your fork until the official package is updated.
    • For long-term maintainability, it is best to request the ABP team to export these in the next release, as you have done.

    Sources (validated):


    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    vu.lang created

    Hi, can you support this in next version?

  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello, sure we will consider adding these exports to the relative indexes. Until then, you can reach the source code using suite as explained here: https://abp.io/docs/latest/suite/source-code

    You can also get the source code to your project using abp add-package @volo/abp.ng.identity --with-source-code command.

    Thank you for your cooperation.

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.0.0-preview. Updated on September 01, 2025, 08:37