Hey there, I'm encountering an issue that's got me scratching my head.
I've shared some of my code in the hopes that it might shed some light on the problem.
The problem cropped up as soon as I started working on a Reactive Form.
Let me start off by showing you my package.json:
{
"name": "name",
"version": "0.0.0",
// more JSON code here ...
}
And here's a snippet from my App module:
import {BrowserModule} from '@angular/platform-browser';
// more JavaScript code here ...
})
export class AppModule {
}
The exact error message I'm seeing is:
ERROR in node_modules/@angular/forms/src/form_providers.d.ts(22,9): error TS2315: Type 'ModuleWithProviders' is not generic.
It doesn't seem to be directly related to my code, but rather something at a deeper level in Angular's configuration.
None of my components are showing any errors.
Please advise.
EDIT I made changes to the routing configuration like this:
const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes, enableTracing: false});
and added routing in the imports. The issue persists.