Building Angular Package
Building entry point '****-web-lib'
Rendering Stylesheets
Rendering Templates
Compiling TypeScript sources through ngc
BUILD ERROR
Error during template compile of 'Injectable'
Function calls are not supported in decorators but 'ɵmakeDecorator' was called.
Error during template compile of 'Injectable'
Function calls are not supported in decorators but 'ɵmakeDecorator' was called.
Error during template compile of 'Injectable'
Function calls are not supported in decorators but 'ɵmakeDecorator' was called.
Error during template compile of 'Injectable'
Function calls are not supported in decorators but 'ɵmakeDecorator' was called.
Error during template compile of 'Injectable'
Function calls are not supported in decorators but 'ɵmakeDecorator' was called.
Error during template compile of 'Injectable'
Function calls are not supported in decorators but 'ɵmakeDecorator' was called.
@angular\core\core.ts(194,50): Error during template compile of 'NgModule'
Function calls are not supported in decorators.
................................
..................................
Error during template compile of 'Injectable'
Function calls are not supported in decorators but 'ɵmakeDecorator' was called.
at Object.<anonymous> (C:\Users\****\source\repos\****-web-ui\webapp\node_modules\ng-packagr\lib\ngc\compile-source-files.js:53:68)
at Generator.next (<anonymous>)
at C:\Users\****\source\repos\****-web-ui\webapp\node_modules\ng-packagr\lib\ngc\compile-source-files.js:7:71
at new Promise (<anonymous>)
at __awaiter (C:\Users\****\source\repos\****-web-ui\webapp\node_modules\ng-packagr\lib\ngc\compile-source-files.js:3:12)
at Object.compileSourceFiles (C:\Users\****\source\repos\****-web-ui\webapp\node_modules\ng-packagr\lib\ngc\compile-source-files.js:19:12)
at Object.<anonymous> (C:\Users\****\source\repos\****-web-ui\webapp\node_modules\ng-packagr\lib\ng-v5\entry-point\ts\compile-ngc.transform.js:26:32)
at Generator.next (<anonymous>)
at C:\Users\****\source\repos\****-web-ui\webapp\node_modules\ng-packagr\lib\ng-v5\entry-point\ts\compile-ngc.transform.js:7:71
at new Promise (<anonymous
Thanks
Sam