Activities of "enes.alper"

  • ABP Framework version: 7.2.2

  • UI Type: Angular

    • Database System: EF Core (PostgreSQL
    • Auth Server Separated (for Angular): No
  • Exception message and full stack trace: ERROR Error: Uncaught (in promise): NullInjectorError: R3InjectorError(TariffModule)[LocalizationService -> LocalizationService -> LocalizationService -> LocalizationService -> SessionStateService -> ConfigStateService -> AbpApplicationConfigurationService -> RestService -> InjectionToken CORE_OPTIONS -> InjectionToken CORE_OPTIONS -> InjectionToken CORE_OPTIONS]: NullInjectorError: No provider for InjectionToken CORE_OPTIONS! NullInjectorError: R3InjectorError(TariffModule)[LocalizationService -> LocalizationService -> LocalizationService -> LocalizationService -> SessionStateService -> ConfigStateService -> AbpApplicationConfigurationService -> RestService -> InjectionToken CORE_OPTIONS -> InjectionToken CORE_OPTIONS -> InjectionToken CORE_OPTIONS]: NullInjectorError: No provider for InjectionToken CORE_OPTIONS! at NullInjector.get (core.mjs:7493:27) at R3Injector.get (core.mjs:7914:33) at R3Injector.get (core.mjs:7914:33) at R3Injector.get (core.mjs:7914:33) at injectInjectorOnly (core.mjs:618:33) at Module.ɵɵinject (core.mjs:622:60) at Object.RestService_Factory [as factory] (abp-ng.core.mjs:58:110) at R3Injector.hydrate (core.mjs:8015:35) at R3Injector.get (core.mjs:7903:33) at injectInjectorOnly (core.mjs:618:33) at resolvePromise (zone.js:1214:31) at resolvePromise (zone.js:1168:17) at zone.js:1281:17 at _ZoneDelegate.invokeTask (zone.js:409:31) at core.mjs:23896:55 at AsyncStackTaggingZoneSpec.onInvokeTask (core.mjs:23896:36) at _ZoneDelegate.invokeTask (zone.js:408:60) at Object.onInvokeTask (core.mjs:24197:33) at _ZoneDelegate.invokeTask (zone.js:408:60) at Zone.runTask (zone.js:178:47)

  • Steps to reproduce the issue: We have a module library (name is Generals module) and this module have many components. One of these components is company component. Also company component have a child component and name is create-company component. So company and create-company have parent-child relationship. Also we have another module in another project and name is Sales module. We want to export the create-company component (child) and use it in the Sales module. Because both modules have create-company field in their page and we want to use same component in both modules for singularity. But when serving the sales module, we get the error that I typing the above. Also we tried the way in this link but it didn't resolve our problem (https://support.abp.io/QA/Questions/773/NullInjectorError-when-access-to-Permission-features). Both modules dependencies are same version.

We bind two modules and tried this way. In Generals module we run ng serve generals --watch, then we replace tsconfig.json file in the Sales module like in the screenshot and we specified the dist path of the generals module.

Please let me know how to check or fix it

Thanks support team.

Showing 1 to 1 of 1 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11