Semantic-Society/Neologism

Build failed (login-dialog.ts)

JohannesLipp opened this issue · 0 comments

https://git.rwth-aachen.de/neologism/neologism2/-/jobs/1607737

Compiling ng-zorro-antd/core/element-patch : module as esm5
Compiling ng-zorro-antd/icon/testing : module as esm5
Compiling ng-zorro-antd/resizable : module as esm5
Compiling ng-zorro-antd/space : module as esm5
chunk {} runtime.c51bd5b1c616d9ffddc1.js (runtime) 1.45 kB [entry] [rendered]
chunk {1} main.5a85dd5c0def77861692.js (main) 128 bytes [initial] [rendered]
chunk {2} polyfills.9ead37ec33c0aebbdd45.js (polyfills) 130 bytes [initial] [rendered]
chunk {3} polyfills-es5.43890e28c1fd14bb9b21.js (polyfills-es5) 83.1 kB [initial] [rendered]
chunk {4} styles.d7111290af0e0f629f85.css (styles) 563 kB [initial] [rendered]
chunk {scripts} scripts.649ea63e02c92a53daf7.js (scripts) 450 kB [entry] [rendered]
Date: 2021-04-15T12:54:21.141Z - Hash: 3631cffe1ce7851f2683 - Time: 34272ms
ERROR in src/app/angular2-material-meteor-accounts-ui/loginDialog/login-dialog.ts:74:49 - error TS2339: Property 'reason' does not exist on type 'Error | Error | TypedError'.
  Property 'reason' does not exist on type 'Error'.
74                     this.sendErrorMessage(error.reason || 'Unknown error');
                                                   ~~~~~~
src/app/angular2-material-meteor-accounts-ui/signupDialog/signup-dialog.ts:76:49 - error TS2339: Property 'reason' does not exist on type 'Error | Error | TypedError'.
  Property 'reason' does not exist on type 'Error'.
76                     this.sendErrorMessage(error.reason || 'Unknown error');
                                                   ~~~~~~
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! neologism@0.0.0 prod: `ng build --prod`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the neologism@0.0.0 prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-04-15T12_54_21_339Z-debug.log
The command '/bin/sh -c bash $SCRIPTS_FOLDER/build-angular-bundle.sh' returned a non-zero code: 1
ERROR: Job failed: exit code 1