Hi, I tried to set it up.
But it is running into errors:
npm run start
> [email protected] prestart C:\Develop\GitHub\CovOpen\covapp-1
> npm run prepare-customization
> [email protected] prepare-customization C:\Develop\GitHub\CovOpen\covapp-1
> node ./scripts/prepare-customization.js
> [email protected] start C:\Develop\GitHub\CovOpen\covapp-1
> stencil build --dev --watch --serve --no-open
[28:33.2] @stencil/core v1.11.3
[28:37.1] build, app, dev mode, started ...
[28:37.1] transpile started ...
[28:45.8] transpile finished in 8.69 s
[ ERROR ] Component Tag Name "ia-recommendation" Must Be Unique
Please update the components so "ia-recommendation" is only used once:
./src/components/recommendation/recommendation.tsx ./src/components/views/recommendation/recommendation.tsx
[28:45.8] build failed, watching for changes... in 8.71 s
[28:45.8] http://localhost:3333/
npm run start
> [email protected] prestart C:\Develop\GitHub\CovOpen\covapp-1
> npm run prepare-customization
> [email protected] prepare-customization C:\Develop\GitHub\CovOpen\covapp-1
> node ./scripts/prepare-customization.js
> [email protected] start C:\Develop\GitHub\CovOpen\covapp-1
> stencil build --dev --watch --serve --no-open
[27:12.4] @stencil/core v1.11.3
[27:18.5] build, app, dev mode, started ...
[27:18.5] transpile started ...
[27:26.1] transpile finished in 7.54 s
[ ERROR ] TypeScript: ./src/global/fhir/response.ts:1:10
Module '"../../../../../../../Develop/GitHub/CovOpen/covapp-1/src/global/fhir"' has no exported member
'CATEGORIES_VALUESET'.
L1: import { CATEGORIES_VALUESET } from '.';
L2: import { KeyValue } from '../../components/qr-code/utils';
[ ERROR ] TypeScript: ./src/global/fhir/response.ts:9:3
Module '"../../../../../../../Develop/GitHub/CovOpen/covapp-1/src/global/fhir/types"' has no exported member
'FHIRValueCoding'.
L8: FHIRQuestionnaireResponse,
L9: FHIRValueCoding,
L10: FHIRValueDate,
[ ERROR ] TypeScript: ./src/global/fhir/response.ts:10:3
Module '"../../../../../../../Develop/GitHub/CovOpen/covapp-1/src/global/fhir/types"' has no exported member
'FHIRValueDate'. Did you mean 'FHIRValueSet'?
L9: FHIRValueCoding,
L10: FHIRValueDate,
L11: } from './types';
[ ERROR ] TypeScript: ./src/global/fhir/response.ts:86:7
Property 'type' is missing in type '{ linkId: string; text: any; item: any[]; }' but required in type
'FHIRQuestionnaireItem'.
L86: let item: FHIRQuestionnaireItem = {
L87: linkId: answers[0].key[0],
[ ERROR ] TypeScript: ./src/global/fhir/response.ts:102:31
Property 'split' does not exist on type 'string | number'.Property 'split' does not exist on type 'number'.
L101: answerItem = {
L102: valueDate: answer.value.split('.').join('-'),
L103: };
[ ERROR ] TypeScript: ./src/global/fhir/response.ts:116:5
Type '{ linkId: string; text: any; answer: any[]; }' is not assignable to type
'FHIRQuestionnaireItem'.Object literal may only specify known properties, and 'answer' does not exist in
type 'FHIRQuestionnaireItem'.
L115: text: LANGUAGE_RESOURCES[language].translation[`q_${answer.key}_text`],
L116: answer: [answerItem],
L117: };
[ ERROR ] TypeScript: ./src/global/fhir/response.ts:124:19
Property 'AGE' does not exist on type '{ POSTAL_CODE: string; ABOVE_65: string; HOUSING: string; CARING:
string; WORKSPACE: string; CONTACT_DATE: string; OUT_OF_BREATH: string; SYMPTOM_DATE: string; DATA_DONATION:
string; }'.
L123: switch (answer.key) {
L124: case QUESTION.AGE:
L125: return 'http://fhir.data4life.care/covid-19/r4/CodeSystem/age-group';
[27:26.1] build failed, watching for changes... in 7.57 s
[27:26.1] http://localhost:3333/