title: typeError: Cannot assign to read only property 'tView' of object '[object Object]' in angular 9.0.4
body: <p>I've been using Angular 8, and recently updated to Angular 9. But when I run the project, it showd me this error in console:</p>
  <blockquote>
  <p>Error: Uncaught (in promise): TypeError: Cannot assign to read only property 'tView' of object '[object Object]'
  TypeError: Cannot assign to read only property 'tView' of object '[object Object]'
  at getOrCreateTComponentView (core.js:7621)
  at createRootComponentView (core.js:18895)
  at</p>
  </blockquote>
  <p>this is my package.json :</p>
  <pre><code>    &quot;dependencies&quot;: {
      &quot;@angular/animations&quot;: &quot;^9.0.4&quot;,
      &quot;@angular/cdk&quot;: &quot;^9.1.0&quot;,
      &quot;@angular/common&quot;: &quot;^9.0.4&quot;,
      &quot;@angular/compiler&quot;: &quot;^9.0.4&quot;,
      &quot;@angular/core&quot;: &quot;^9.0.4&quot;,
      &quot;@angular/flex-layout&quot;: &quot;^9.0.0-beta.28&quot;,
      &quot;@angular/forms&quot;: &quot;^9.0.4&quot;,
      &quot;@angular/localize&quot;: &quot;^9.0.4&quot;,
      &quot;@angular/platform-browser&quot;: &quot;^9.0.4&quot;,
      &quot;@angular/platform-browser-dynamic&quot;: &quot;^9.0.4&quot;,
      &quot;@angular/platform-server&quot;: &quot;^9.0.4&quot;,
      &quot;@angular/router&quot;: &quot;^9.0.4&quot;,
      &quot;@aspnet/signalr&quot;: &quot;^1.1.4&quot;,
      &quot;@mat-datetimepicker/core&quot;: &quot;^3.0.0&quot;,
      &quot;@ng-bootstrap/ng-bootstrap&quot;: &quot;^4.2.1&quot;,
      &quot;@ngrx/effects&quot;: &quot;^8.0.1&quot;,
      &quot;@ngrx/entity&quot;: &quot;^8.0.1&quot;,
      &quot;@ngrx/router-store&quot;: &quot;^8.0.1&quot;,
      &quot;@ngrx/store&quot;: &quot;^8.0.1&quot;,
      &quot;@ngrx/store-devtools&quot;: &quot;^8.0.1&quot;,
      &quot;@ngx-loading-bar/core&quot;: &quot;^4.2.0&quot;,
      &quot;@ngx-translate/core&quot;: &quot;^11.0.1&quot;,
      &quot;@types/lodash&quot;: &quot;^4.14.134&quot;,
      &quot;angular-in-memory-web-api&quot;: &quot;^0.8.0&quot;,
      &quot;angular2-permission&quot;: &quot;^0.1.3&quot;,
      &quot;angular2-promise-buttons&quot;: &quot;^4.0.0&quot;,
      &quot;chart.js&quot;: &quot;^2.8.0&quot;,
      &quot;chartist&quot;: &quot;^0.11.2&quot;,
      &quot;classlist.js&quot;: &quot;^1.1.20150312&quot;,
      &quot;core-js&quot;: &quot;^3.1.4&quot;,
      &quot;hammerjs&quot;: &quot;^2.0.8&quot;,
      &quot;highlight.js&quot;: &quot;^9.15.8&quot;,
      &quot;jwt-decode&quot;: &quot;^2.2.0&quot;,
      &quot;lodash&quot;: &quot;^4.17.11&quot;,
      &quot;material-design-icons&quot;: &quot;^3.0.1&quot;,
      &quot;moment&quot;: &quot;^2.24.0&quot;,
      &quot;ng-inline-svg&quot;: &quot;^8.4.1&quot;,
      &quot;ng2-jalali-date-picker&quot;: &quot;^2.2.7&quot;,
      &quot;ngrx-store-freeze&quot;: &quot;^0.2.4&quot;,
      &quot;ngx-clipboard&quot;: &quot;^12.1.0&quot;,
      &quot;ngx-daterangepicker-material&quot;: &quot;^2.1.3&quot;,
      &quot;ngx-highlightjs&quot;: &quot;^3.0.3&quot;,
      &quot;ngx-material-file-input&quot;: &quot;^1.1.1&quot;,
      &quot;ngx-perfect-scrollbar&quot;: &quot;^8.0.0&quot;,
      &quot;ngx-permissions&quot;: &quot;^7.0.2&quot;,
      &quot;ngx-toastr&quot;: &quot;^10.0.4&quot;,
      &quot;object-path&quot;: &quot;^0.11.4&quot;,
      &quot;rxjs&quot;: &quot;^6.5.2&quot;,
      &quot;tslib&quot;: &quot;^1.10.0&quot;,
      &quot;web-animations-js&quot;: &quot;^2.3.1&quot;,
      &quot;zone.js&quot;: &quot;~0.10.2&quot;
  },
  &quot;devDependencies&quot;: {
      &quot;@angular-devkit/build-angular&quot;: &quot;^0.900.4&quot;,
      &quot;@angular/cli&quot;: &quot;^9.0.4&quot;,
      &quot;@angular/compiler-cli&quot;: &quot;^9.0.4&quot;,
      &quot;@angular/language-service&quot;: &quot;^9.0.4&quot;,
      &quot;@angular/material&quot;: &quot;^9.1.0&quot;,
      &quot;@angular/material-moment-adapter&quot;: &quot;^9.1.0&quot;,
      &quot;@ngrx/schematics&quot;: &quot;^8.0.1&quot;,
      &quot;@types/chartist&quot;: &quot;^0.9.46&quot;,
      &quot;@types/highlight.js&quot;: &quot;^9.12.3&quot;,
      &quot;@types/jasmine&quot;: &quot;~3.3.13&quot;,
      &quot;@types/jasminewd2&quot;: &quot;~2.0.6&quot;,
      &quot;@types/node&quot;: &quot;~12.0.8&quot;,
      &quot;@types/object-path&quot;: &quot;^0.11.0&quot;,
      &quot;codelyzer&quot;: &quot;^5.1.0&quot;,
      &quot;jasmine-core&quot;: &quot;~3.4.0&quot;,
      &quot;jasmine-spec-reporter&quot;: &quot;~4.2.1&quot;,
      &quot;karma&quot;: &quot;^4.1.0&quot;,
      &quot;karma-chrome-launcher&quot;: &quot;~2.2.0&quot;,
      &quot;karma-coverage-istanbul-reporter&quot;: &quot;^2.0.5&quot;,
      &quot;karma-jasmine&quot;: &quot;~2.0.1&quot;,
      &quot;karma-jasmine-html-reporter&quot;: &quot;^1.4.2&quot;,
      &quot;protractor&quot;: &quot;~5.4.2&quot;,
      &quot;ts-node&quot;: &quot;~8.2.0&quot;,
      &quot;tslint&quot;: &quot;~5.17.0&quot;,
      &quot;typescript&quot;: &quot;^3.6.4&quot;,
      &quot;webpack-bundle-analyzer&quot;: &quot;^3.3.2&quot;
  }
  </code></pre>