import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ToastrModule } from 'ngx-toastr';
-> Error: node_modules/ngx-toastr/toastr/toast.provider.d.ts:2:10 - error TS2305: Module '"@angular/core"' has no exported member 'EnvironmentProviders'.
2 import { EnvironmentProviders } from '@angular/core';
File: app.module.ts
-> Error: node_modules/ngx-toastr/toastr/toast.provider.d.ts:2:10 - error TS2305: Module '"@angular/core"' has no exported member 'EnvironmentProviders'. 2 import { EnvironmentProviders } from '@angular/core';
package.json
`{ "dependencies": { "@angular/animations": "^14.3.0",
},
} `