title: TypeError: Cannot read property 'isSkipSelf' of null (Angular7)
body: <p>When I am creating the package of my module I am getting below error. </p>
  
  <pre><code>TypeError: Cannot read property 'isSkipSelf' of null at ProviderElementContext._getDependency(C:\Users\ravinder\MyProjectName\node_modules\@angular\compiler\bundles\compiler.umd.js:19242:22
  </code></pre>
  
  <p>I have tried all the possible solutions given on the internet like missing <code>@injectable</code>, check dependency injection, circular dependency etcetera. Any help will be appreciated.</p>