Open Closed

NG0201: No provider found for `InjectionToken CORE_OPTIONS` #10506


User avatar
0
sumeyye.kurtulus created
Support Team Angular Expert

I am getting such error after updating my version to 10.0.x.

// root_effect_scheduler.mjs:3637
❌ ERROR ɵNotFound: NG0201: No provider found for `InjectionToken CORE_OPTIONS`. Find more at https://v20.angular.dev/errors/NG0201

2 Answer(s)
  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    If you encounter an error similar to the following:

    // root_effect_scheduler.mjs:3637
    ❌ ERROR ɵNotFound: NG0201: No provider found for `InjectionToken CORE_OPTIONS`. Find more at https://v20.angular.dev/errors/NG0201
    

    as also mentioned here, you can resolve the issue by adding the following resolutions to your package.json:

    "resolutions": {
      "@ng-bootstrap/ng-bootstrap": "~19.0.0",
      "@volo/abp.commercial.ng.ui": "~10.0.3",
      "@volo/abp.ng.account": "~10.0.3"
    }
    

    https://gist.github.com/sumeyyeKurtulus/6111671cf4f1773c1b8c1f354631087a

  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • This error happens when the Angular app can’t resolve ABP’s CORE_OPTIONS provider (it’s normally provided by CoreModule.forRoot(...)). After upgrading, it is commonly caused by TypeScript paths mappings that override how @abp/* and @volo/* packages are resolved (especially in microservice solutions / Studio-generated workspaces).
    • Apply the following workaround in your Angular app’s tsconfig.json (the one used by the app, e.g. apps/angular/tsconfig.json):
    {
      "compilerOptions": {
        "paths": {
          "@abp/*": ["node_modules/@abp/*"],
          "@volo/*": ["node_modules/@volo/*"]
        }
      }
    }
    
    • Then reinstall and rebuild:
    rm -rf node_modules package-lock.json yarn.lock
    npm install   # or yarn
    npm start
    
    • Also ensure your root module still imports ABP core with forRoot (otherwise CORE_OPTIONS really won’t be registered):
    import { CoreModule } from '@abp/ng.core';
    
    @NgModule({
      imports: [
        CoreModule.forRoot(/* your options */),
      ],
    })
    export class AppModule {}
    

    Links:

    • https://abp.io/support/questions/9414
    • https://abp.io/docs/10.0/release-info/migration-guides/abp-10-0

    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.

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.3.0-preview. Updated on March 11, 2026, 11:45
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.