stencil-ds-plugins-demo
stencil-ds-plugins-demo copied to clipboard
app-angular has runtime error on start
Steps to Repro:
-
Clone repo
-
npm install
-
lerna bootstrap
-
build component-library
-
build component-library-angular
-
'npm start' app-angular
-
Open http://localhost:4200 in Chrome (80)
-
See following error in console (twice)
AppComponent.html:3 ERROR NullInjectorError: StaticInjectorError(AppModule)[DemoComponent -> ChangeDetectorRef]: StaticInjectorError(Platform: core)[DemoComponent -> ChangeDetectorRef]: NullInjectorError: No provider for ChangeDetectorRef! at NullInjector.push../node_modules/@angular/core/fesm5/core.js.NullInjector.get (http://localhost:4200/vendor.js:89853:25) at resolveToken (http://localhost:4200/vendor.js:101046:24) at tryResolveToken (http://localhost:4200/vendor.js:100990:16) at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (http://localhost:4200/vendor.js:100892:20) at resolveToken (http://localhost:4200/vendor.js:101046:24) at tryResolveToken (http://localhost:4200/vendor.js:100990:16) at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (http://localhost:4200/vendor.js:100892:20) at resolveNgModuleDep (http://localhost:4200/vendor.js:109362:29) at NgModuleRef_.push../node_modules/@angular/core/fesm5/core.js.NgModuleRef_.get (http://localhost:4200/vendor.js:110033:16) at resolveDep (http://localhost:4200/vendor.js:110404:45)
- Despair :(
I have looked into related issues, but their suggested solutions either didn't work, or the issue was closed without solution.