title: Meteor - Angular6 AOT production build throws error on Angular-Tree-Component package
body: <p>I am working on Meteor - Angular 6. We are using <a href="https://www.npmjs.com/package/angular-tree-component" rel="nofollow noreferrer">angular-tree-component</a> package. It's working fine in development. <br><br>
  While doing the production build, we are facing the below error</p>
  
  <blockquote>
    <p>node_modules/angular-tree-component/dist/components/tree-node.component.ngfactory.ts (13, 21): </p>
    
    <p>Cannot find module './tree-node-wrapper.component.ngfactory'</p>
  </blockquote>
  
  <pre><code> Base Code:
     https://github.com/Urigo/angular-meteor-base
  
   Installed Package Version: 
     "angular-tree-component": "^8.2.0"
  </code></pre>
  
  <h3>Steps to replicate the issue:</h3>
  
  <ol>
  <li>Download the Base code ( Urigo angular-meteor base )</li>
  <li>Install all the dependent packages ( meteor npm install / npm install )</li>
  <li>Do basic configure <code>angular-tree-component</code> package</li>
  <li>Once basic flow works, run <code>meteor build ./output  --architecture os.linux.x86_64</code></li>
  <li>You can able to get the error</li>
  </ol>
  
  <blockquote>
    <p>Note: Before these steps, you should install these packages globally <code>meteor</code> and <code>node</code></p>
  </blockquote>
  
  <p><br>
  It would be helpful if anyone provide solution for this bug.</p>