Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module '"@angular/compiler/src/core"' has no exported member 'ModuleWithProviders'. #944

Open
vijay-kishan-noone opened this issue Jul 8, 2022 · 0 comments

Comments

@vijay-kishan-noone
Copy link

vijay-kishan-noone commented Jul 8, 2022

I was trying to migrate Angular 12 to 13 where I found an issue from ngx-toastr

Error: node_modules/ngx-toastr/toastr/toast-noanimation.component.d.ts:1:10 - error TS2305: Module '"@angular/compiler/src/core"' has no exported member 'ModuleWithProviders'.

1 import { ModuleWithProviders } from '@angular/compiler/src/core';

Versions of ngx-toastr is "ngx-toastr": "^10.2.0" and information related to Angular is as follows,

Angular CLI: 13.3.8
Node: 14.17.4
Package Manager: npm 6.14.14
OS: win32 x64

Angular: 13.3.11
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package Version

@angular-devkit/architect 0.1303.8
@angular-devkit/build-angular 13.3.8
@angular-devkit/core 13.3.8
@angular-devkit/schematics 13.3.8
@angular/cdk 13.3.9
@angular/cli 13.3.8
@angular/http 7.2.16
@angular/material 13.3.9
@schematics/angular 13.3.8
rxjs 6.6.7
typescript 4.6.4

I tried to uninstall node_modules and give npm install, but no luck.

Thanks, Vijay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant