stencil-ds-plugins-demo icon indicating copy to clipboard operation
stencil-ds-plugins-demo copied to clipboard

app-angular has runtime error on start

Open bigfish opened this issue 4 years ago • 3 comments

Steps to Repro:

  1. Clone repo

  2. npm install

  3. lerna bootstrap

  4. build component-library

  5. build component-library-angular

  6. 'npm start' app-angular

  7. Open http://localhost:4200 in Chrome (80)

  8. 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)

  1. Despair :(

I have looked into related issues, but their suggested solutions either didn't work, or the issue was closed without solution.

bigfish avatar Mar 04 '20 21:03 bigfish