Trying to create a set of standard Angular 5 modules to use in a new IT initiative. Wanted to use Select2 for the dropdown and so decided to use ng2-select2 to implement that. All works great local to my common components project. But when I try to package it up with npm run packagr I get the following error:
ENOENT: no such file or directory, open 'C:\Source\Workspaces\GitHub\xxxx\node_modules\lib
\ng2-select2.component.ts'
I've tried adding:
"embedded": "Select2Component",
To the ng-package.json file.... I've tried Select2Module also and still get the same error. Obviously there is no lib within node_modules.
Trying to create a set of standard Angular 5 modules to use in a new IT initiative. Wanted to use Select2 for the dropdown and so decided to use ng2-select2 to implement that. All works great local to my common components project. But when I try to package it up with npm run packagr I get the following error:
ENOENT: no such file or directory, open 'C:\Source\Workspaces\GitHub\xxxx\node_modules\lib \ng2-select2.component.ts'
I've tried adding:
To the ng-package.json file.... I've tried Select2Module also and still get the same error. Obviously there is no lib within node_modules.
Anyone managed to get this to work?