Seeking assistance for the issue described below, as I have been struggling with it for three days. Any help would be greatly appreciated.
Despite multiple attempts, the situation only seems to worsen with each try.
The problem arises when attempting to construct an Angular application using ng build --prod. The error message that surfaces is as follows:
ERROR in ./node_modules/ngx-currency/fesm5/ngx-currency.js Module build failed (from ./node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js): TypeError: Cannot read property 'kind' of undefined at isAngularDecoratorMetadataExpression... [error continues]
Below are my configurations:
tsconfig.json
{
"compileOnSave": false,
"angularCompilerOptions": {...}
}
package.json
{
"name": "angular-ngrx-course",
"version": "0.0.0",
"license": "MIT",
"scripts": {...},
"private": true,
"dependencies": {...},
"devDependencies": {...}
}