StaticInjectorError(AppModule)[String]
Hey there,
Congrats for this tutorial/repo...super usefull !!! I haved added a service to an internal endpoint which should trigger an error but I have the following issue in the console:
zone.js:192 Uncaught Error: StaticInjectorError(AppModule)[String]: StaticInjectorError(Platform: core)[String]: NullInjectorError: No provider for String! at NullInjector.push../node_modules/@angular/core/fesm5/core.js.NullInjector.get (core.js:936) at resolveToken (core.js:1175) at tryResolveToken (core.js:1120) at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (core.js:1015) at resolveToken (core.js:1175) at tryResolveToken (core.js:1120) at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (core.js:1015) at resolveNgModuleDep (core.js:8065) at NgModuleRef_.push../node_modules/@angular/core/fesm5/core.js.NgModuleRef_.get (core.js:8753) at inject (core.js:1277)
Any idea what's the root cause of this ?
I'm also having the same problem !!! You could an example using the HttpWrapperService and LogService in the correct way and committing in this repository as a functional example?
Not working for me as well. Getting same StaticInjectorError. Spending lots of time and unable to make it run.