npm run dev > voting-dapp@1.0.0 dev > cd frontend-angular && npm run dev > voting-dapp-frontend-angular@0.1.0 dev > ng serve ? Would you like to share pseudonymous usage data about this project with the Angular Team at Google under Google's Privacy Policy at https://policies.google.com/privacy. For more details and how to change this setting, see https://angular.io/analytics. No Global setting: enabled Local setting: disabled Effective status: disabled Option "browserTarget" is deprecated: Use 'buildTarget' instead. √ Browser application bundle generation complete. Initial chunk files | Names | Raw size vendor.js | vendor | 3.22 MB | polyfills.js | polyfills | 341.99 kB | styles.css, styles.js | styles | 230.93 kB | main.js | main | 34.23 kB | runtime.js | runtime | 7.02 kB | | Initial total | 3.82 MB Build at: 2025-03-19T18:08:14.980Z - Hash: 17fe02624019b6d2 - Time: 9720ms Warning: C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\node_modules\@ethersproject\bignumber\lib.esm\bignumber.js depends on 'bn.js'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies Warning: C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\node_modules\@ethersproject\json-wallets\lib.esm\crowdsale.js depends on 'aes-js'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies Warning: C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\node_modules\@ethersproject\json-wallets\lib.esm\keystore.js depends on 'scrypt-js'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies Warning: C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\node_modules\@ethersproject\keccak256\lib.esm\index.js depends on 'js-sha3'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies Warning: C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\node_modules\@ethersproject\providers\lib.esm\base-provider.js depends on 'bech32'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies Warning: C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\node_modules\@ethersproject\sha2\lib.esm\sha2.js depends on 'hash.js'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies ./src/app/app.module.ts:8:0-94 - Error: Module not found: Error: Can't resolve './components/connect-wallet/connect-wallet.component' in 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\src\app' ./src/app/app.module.ts:9:0-97 - Error: Module not found: Error: Can't resolve './components/workflow-status/workflow-status.component' in 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\src\app' ./src/app/app.module.ts:10:0-100 - Error: Module not found: Error: Can't resolve './components/voter-management/voter-management.component' in 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\src\app' ./src/app/app.module.ts:11:0-109 - Error: Module not found: Error: Can't resolve './components/proposal-management/proposal-management.component' in 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\src\app' ./src/app/app.module.ts:12:0-94 - Error: Module not found: Error: Can't resolve './components/voting-session/voting-session.component' in 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\src\app' Error: src/app/app.component.html:2:3 - error NG8001: 'app-header' is not a known element: 1. If 'app-header' is an Angular component, then verify that it is part of this module. 2. If 'app-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:2:15 - error NG8002: Can't bind to 'account' since it isn't a known property of 'app-header'. 1. If 'app-header' is an Angular component and it has 'account' input, then verify that it is part of this module. 2. If 'app-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 2 ~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:2:35 - error NG8002: Can't bind to 'isOwner' since it isn't a known property of 'app-header'. 1. If 'app-header' is an Angular component and it has 'isOwner' input, then verify that it is part of this module. 2. If 'app-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 2 ~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:24:13 - error NG8001: 'app-connect-wallet' is not a known element: 1. If 'app-connect-wallet' is an Angular component, then verify that it is part of this module. 2. If 'app-connect-wallet' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 24 ~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:31:11 - error NG8001: 'app-workflow-status' is not a known element: 1. If 'app-workflow-status' is an Angular component, then verify that it is part of this module. 2. If 'app-workflow-status' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 31 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:32:13 - error NG8002: Can't bind to 'currentStatus' since it isn't a known property of 'app-workflow-status'. 1. If 'app-workflow-status' is an Angular component and it has 'currentStatus' input, then verify that it is part of this module. 2. If 'app-workflow-status' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 32 [currentStatus]="currentStatus" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:33:13 - error NG8002: Can't bind to 'isOwner' since it isn't a known property of 'app-workflow-status'. 1. If 'app-workflow-status' is an Angular component and it has 'isOwner' input, then verify that it is part of this module. 2. If 'app-workflow-status' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 33 [isOwner]="isOwner"> ~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:37:11 - error NG8001: 'app-voter-management' is not a known element: 1. If 'app-voter-management' is an Angular component, then verify that it is part of this module. 2. If 'app-voter-management' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 37 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:39:13 - error NG8002: Can't bind to 'currentStatus' since it isn't a known property of 'app-voter-management'. 1. If 'app-voter-management' is an Angular component and it has 'currentStatus' input, then verify that it is part of this module. 2. If 'app-voter-management' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 39 [currentStatus]="currentStatus"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:43:11 - error NG8001: 'app-proposal-management' is not a known element: 1. If 'app-proposal-management' is an Angular component, then verify that it is part of this module. 2. If 'app-proposal-management' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 43 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:45:13 - error NG8002: Can't bind to 'currentStatus' since it isn't a known property of 'app-proposal-management'. 1. If 'app-proposal-management' is an Angular component and it has 'currentStatus' input, then verify that it is part of this module. 2. If 'app-proposal-management' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 45 [currentStatus]="currentStatus"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:49:11 - error NG8001: 'app-voting-session' is not a known element: 1. If 'app-voting-session' is an Angular component, then verify that it is part of this module. 2. If 'app-voting-session' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 49 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:51:13 - error NG8002: Can't bind to 'currentStatus' since it isn't a known property of 'app-voting-session'. 1. If 'app-voting-session' is an Angular component and it has 'currentStatus' input, then verify that it is part of this module. 2. If 'app-voting-session' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 51 [currentStatus]="currentStatus"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.module.ts:8:40 - error TS2307: Cannot find module './components/connect-wallet/connect-wallet.component' or its corresponding type declarations. 8 import { ConnectWalletComponent } from './components/connect-wallet/connect-wallet.component'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/app.module.ts:9:41 - error TS2307: Cannot find module './components/workflow-status/workflow-status.component' or its corresponding type declarations. 9 import { WorkflowStatusComponent } from './components/workflow-status/workflow-status.component'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/app.module.ts:10:42 - error TS2307: Cannot find module './components/voter-management/voter-management.component' or its corresponding type declarations. 10 import { VoterManagementComponent } from './components/voter-management/voter-management.component'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/app.module.ts:11:45 - error TS2307: Cannot find module './components/proposal-management/proposal-management.component' or its corresponding type declarations. 11 import { ProposalManagementComponent } from './components/proposal-management/proposal-management.component'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/app.module.ts:12:40 - error TS2307: Cannot find module './components/voting-session/voting-session.component' or its corresponding type declarations. 12 import { VotingSessionComponent } from './components/voting-session/voting-session.component'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/app.module.ts:15:17 - error NG1010: Value Error: src/app/components/header/header.component.ts:5:16 - error NG2008: Could not find template file './header.component.html'. 5 templateUrl: './header.component.html', ~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/components/header/header.component.ts:10:2 - error TS1005: '}' expected. 10 Error: src/app/services/contract.service.ts:116:41 - error TS4111: Property 'owner' comes from an index signature, so it must be accessed with ['owner']. 116 const owner = await this.contract.owner(); ~~~~~ Error: src/app/services/contract.service.ts:122:42 - error TS4111: Property 'workflowStatus' comes from an index signature, so it must be accessed with ['workflowStatus']. 122 const status = await this.contract.workflowStatus(); ~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:128:45 - error TS4111: Property 'getVoter' comes from an index signature, so it must be accessed with ['getVoter']. 128 const voter = await this.contract.getVoter(account); ~~~~~~~~ Error: src/app/services/contract.service.ts:195:38 - error TS4111: Property 'registerVoter' comes from an index signature, so it must be accessed with ['registerVoter']. 195 const tx = await this.contract.registerVoter(voterAddress); ~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:215:38 - error TS4111: Property 'startProposalsRegistration' comes from an index signature, so it must be accessed with ['startProposalsRegistration']. 215 const tx = await this.contract.startProposalsRegistration(durationInMinutes); ~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:235:38 - error TS4111: Property 'endProposalsRegistration' comes from an index signature, so it must be accessed with ['endProposalsRegistration']. 235 const tx = await this.contract.endProposalsRegistration(); ~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:255:38 - error TS4111: Property 'registerProposal' comes from an index signature, so it must be accessed with ['registerProposal']. 255 const tx = await this.contract.registerProposal(description); ~~~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:275:38 - error TS4111: Property 'startVotingSession' comes from an index signature, so it must be accessed with ['startVotingSession']. 275 const tx = await this.contract.startVotingSession(durationInMinutes); ~~~~~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:295:38 - error TS4111: Property 'endVotingSession' comes from an index signature, so it must be accessed with ['endVotingSession']. 295 const tx = await this.contract.endVotingSession(); ~~~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:315:38 - error TS4111: Property 'vote' comes from an index signature, so it must be accessed with ['vote']. 315 const tx = await this.contract.vote(proposalId); ~~~~ Error: src/app/services/contract.service.ts:335:38 - error TS4111: Property 'delegateVoteTo' comes from an index signature, so it must be accessed with ['delegateVoteTo']. 335 const tx = await this.contract.delegateVoteTo(delegateAddress); ~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:355:38 - error TS4111: Property 'tallyVotes' comes from an index signature, so it must be accessed with ['tallyVotes']. 355 const tx = await this.contract.tallyVotes(); ~~~~~~~~~~ Error: src/app/services/contract.service.ts:372:41 - error TS4111: Property 'getProposalsCount' comes from an index signature, so it must be accessed with ['getProposalsCount']. 372 const count = await this.contract.getProposalsCount(); ~~~~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:376:46 - error TS4111: Property 'getProposal' comes from an index signature, so it must be accessed with ['getProposal']. 376 const proposal = await this.contract.getProposal(i); ~~~~~~~~~~~ Error: src/app/services/contract.service.ts:398:41 - error TS4111: Property 'getVoter' comes from an index signature, so it must be accessed with ['getVoter']. 398 const voter = await this.contract.getVoter(address); ~~~~~~~~ ** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ ** × Failed to compile. √ Browser application bundle generation complete. Initial chunk files | Names | Raw size runtime.js | runtime | 7.02 kB | 4 unchanged chunks Build at: 2025-03-19T18:08:15.433Z - Hash: 6e3d1fc786e76e1a - Time: 180ms ./src/app/app.module.ts:8:0-94 - Error: Module not found: Error: Can't resolve './components/connect-wallet/connect-wallet.component' in 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\src\app' ./src/app/app.module.ts:9:0-97 - Error: Module not found: Error: Can't resolve './components/workflow-status/workflow-status.component' in 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\src\app' ./src/app/app.module.ts:10:0-100 - Error: Module not found: Error: Can't resolve './components/voter-management/voter-management.component' in 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\src\app' ./src/app/app.module.ts:11:0-109 - Error: Module not found: Error: Can't resolve './components/proposal-management/proposal-management.component' in 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\src\app' ./src/app/app.module.ts:12:0-94 - Error: Module not found: Error: Can't resolve './components/voting-session/voting-session.component' in 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend-angular\src\app' Error: src/app/app.component.html:2:3 - error NG8001: 'app-header' is not a known element: 1. If 'app-header' is an Angular component, then verify that it is part of this module. 2. If 'app-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:2:15 - error NG8002: Can't bind to 'account' since it isn't a known property of 'app-header'. 1. If 'app-header' is an Angular component and it has 'account' input, then verify that it is part of this module. 2. If 'app-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 2 ~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:2:35 - error NG8002: Can't bind to 'isOwner' since it isn't a known property of 'app-header'. 1. If 'app-header' is an Angular component and it has 'isOwner' input, then verify that it is part of this module. 2. If 'app-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 2 ~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:24:13 - error NG8001: 'app-connect-wallet' is not a known element: 1. If 'app-connect-wallet' is an Angular component, then verify that it is part of this module. 2. If 'app-connect-wallet' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 24 ~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:31:11 - error NG8001: 'app-workflow-status' is not a known element: 1. If 'app-workflow-status' is an Angular component, then verify that it is part of this module. 2. If 'app-workflow-status' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 31 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:32:13 - error NG8002: Can't bind to 'currentStatus' since it isn't a known property of 'app-workflow-status'. 1. If 'app-workflow-status' is an Angular component and it has 'currentStatus' input, then verify that it is part of this module. 2. If 'app-workflow-status' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 32 [currentStatus]="currentStatus" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:33:13 - error NG8002: Can't bind to 'isOwner' since it isn't a known property of 'app-workflow-status'. 1. If 'app-workflow-status' is an Angular component and it has 'isOwner' input, then verify that it is part of this module. 2. If 'app-workflow-status' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 33 [isOwner]="isOwner"> ~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:37:11 - error NG8001: 'app-voter-management' is not a known element: 1. If 'app-voter-management' is an Angular component, then verify that it is part of this module. 2. If 'app-voter-management' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 37 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:39:13 - error NG8002: Can't bind to 'currentStatus' since it isn't a known property of 'app-voter-management'. 1. If 'app-voter-management' is an Angular component and it has 'currentStatus' input, then verify that it is part of this module. 2. If 'app-voter-management' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 39 [currentStatus]="currentStatus"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:43:11 - error NG8001: 'app-proposal-management' is not a known element: 1. If 'app-proposal-management' is an Angular component, then verify that it is part of this module. 2. If 'app-proposal-management' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 43 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:45:13 - error NG8002: Can't bind to 'currentStatus' since it isn't a known property of 'app-proposal-management'. 1. If 'app-proposal-management' is an Angular component and it has 'currentStatus' input, then verify that it is part of this module. 2. If 'app-proposal-management' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 45 [currentStatus]="currentStatus"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:49:11 - error NG8001: 'app-voting-session' is not a known element: 1. If 'app-voting-session' is an Angular component, then verify that it is part of this module. 2. If 'app-voting-session' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 49 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.component.html:51:13 - error NG8002: Can't bind to 'currentStatus' since it isn't a known property of 'app-voting-session'. 1. If 'app-voting-session' is an Angular component and it has 'currentStatus' input, then verify that it is part of this module. 2. If 'app-voting-session' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 51 [currentStatus]="currentStatus"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.component.ts:7:16 7 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. Error: src/app/app.module.ts:8:40 - error TS2307: Cannot find module './components/connect-wallet/connect-wallet.component' or its corresponding type declarations. 8 import { ConnectWalletComponent } from './components/connect-wallet/connect-wallet.component'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/app.module.ts:9:41 - error TS2307: Cannot find module './components/workflow-status/workflow-status.component' or its corresponding type declarations. 9 import { WorkflowStatusComponent } from './components/workflow-status/workflow-status.component'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/app.module.ts:10:42 - error TS2307: Cannot find module './components/voter-management/voter-management.component' or its corresponding type declarations. 10 import { VoterManagementComponent } from './components/voter-management/voter-management.component'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/app.module.ts:11:45 - error TS2307: Cannot find module './components/proposal-management/proposal-management.component' or its corresponding type declarations. 11 import { ProposalManagementComponent } from './components/proposal-management/proposal-management.component'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/app.module.ts:12:40 - error TS2307: Cannot find module './components/voting-session/voting-session.component' or its corresponding type declarations. 12 import { VotingSessionComponent } from './components/voting-session/voting-session.component'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/app.module.ts:15:17 - error NG1010: Value Error: src/app/components/header/header.component.ts:5:16 - error NG2008: Could not find template file './header.component.html'. 5 templateUrl: './header.component.html', ~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/components/header/header.component.ts:10:2 - error TS1005: '}' expected. 10 Error: src/app/services/contract.service.ts:116:41 - error TS4111: Property 'owner' comes from an index signature, so it must be accessed with ['owner']. 116 const owner = await this.contract.owner(); ~~~~~ Error: src/app/services/contract.service.ts:122:42 - error TS4111: Property 'workflowStatus' comes from an index signature, so it must be accessed with ['workflowStatus']. 122 const status = await this.contract.workflowStatus(); ~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:128:45 - error TS4111: Property 'getVoter' comes from an index signature, so it must be accessed with ['getVoter']. 128 const voter = await this.contract.getVoter(account); ~~~~~~~~ Error: src/app/services/contract.service.ts:195:38 - error TS4111: Property 'registerVoter' comes from an index signature, so it must be accessed with ['registerVoter']. 195 const tx = await this.contract.registerVoter(voterAddress); ~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:215:38 - error TS4111: Property 'startProposalsRegistration' comes from an index signature, so it must be accessed with ['startProposalsRegistration']. 215 const tx = await this.contract.startProposalsRegistration(durationInMinutes); ~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:235:38 - error TS4111: Property 'endProposalsRegistration' comes from an index signature, so it must be accessed with ['endProposalsRegistration']. 235 const tx = await this.contract.endProposalsRegistration(); ~~~~~~~~~~~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:255:38 - error TS4111: Property 'registerProposal' comes from an index signature, so it must be accessed with ['registerProposal']. 255 const tx = await this.contract.registerProposal(description); ~~~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:275:38 - error TS4111: Property 'startVotingSession' comes from an index signature, so it must be accessed with ['startVotingSession']. 275 const tx = await this.contract.startVotingSession(durationInMinutes); ~~~~~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:295:38 - error TS4111: Property 'endVotingSession' comes from an index signature, so it must be accessed with ['endVotingSession']. 295 const tx = await this.contract.endVotingSession(); ~~~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:315:38 - error TS4111: Property 'vote' comes from an index signature, so it must be accessed with ['vote']. 315 const tx = await this.contract.vote(proposalId); ~~~~ Error: src/app/services/contract.service.ts:335:38 - error TS4111: Property 'delegateVoteTo' comes from an index signature, so it must be accessed with ['delegateVoteTo']. 335 const tx = await this.contract.delegateVoteTo(delegateAddress); ~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:355:38 - error TS4111: Property 'tallyVotes' comes from an index signature, so it must be accessed with ['tallyVotes']. 355 const tx = await this.contract.tallyVotes(); ~~~~~~~~~~ Error: src/app/services/contract.service.ts:372:41 - error TS4111: Property 'getProposalsCount' comes from an index signature, so it must be accessed with ['getProposalsCount']. 372 const count = await this.contract.getProposalsCount(); ~~~~~~~~~~~~~~~~~ Error: src/app/services/contract.service.ts:376:46 - error TS4111: Property 'getProposal' comes from an index signature, so it must be accessed with ['getProposal']. 376 const proposal = await this.contract.getProposal(i); ~~~~~~~~~~~ Error: src/app/services/contract.service.ts:398:41 - error TS4111: Property 'getVoter' comes from an index signature, so it must be accessed with ['getVoter']. 398 const voter = await this.contract.getVoter(address); ~~~~~~~~ × Failed to compile.