I am working on Meteor - Angular 6. We are using angular-tree-component package. It's working fine in development.
While doing the production build, we are facing the below error
node_modules/angular-tree-component/dist/components/tree-node.component.ngfactory.ts (13, 21):
Cannot find module './tree-node-wrapper.component.ngfactory'
Base Code:
https://github.com/Urigo/angular-meteor-base
Installed Package Version:
"angular-tree-component": "^8.2.0"
Steps to replicate the issue:
- Download the Base code ( Urigo angular-meteor base )
- Install all the dependent packages ( meteor npm install / npm install )
- Do basic configure
angular-tree-componentpackage - Once basic flow works, run
meteor build ./output --architecture os.linux.x86_64 - You can able to get the error
Note: Before these steps, you should install these packages globally
meteorandnode
It would be helpful if anyone provide solution for this bug.