lecoffre_node/log/ihm_client.log
2025-09-19 17:15:48 +00:00

261 lines
17 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

2025-09-19T13:07:01
2025-09-19T13:07:01 WARN Files in the public directory are served at the root path.
2025-09-19T13:07:01 Instead of /public/style/4nk.css, use /style/4nk.css.
2025-09-19T13:07:01
2025-09-19T13:23:38
2025-09-19T13:23:38 WARN Files in the public directory are served at the root path.
2025-09-19T13:23:38 Instead of /public/style/4nk.css, use /style/4nk.css.
2025-09-19T13:23:38
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] > sdk_client@1.0.0 start
2025-09-19T17:13:49 [IHM] > vite --host 0.0.0.0
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 1 import { Device, Process, SecretsStore } from "../pkg/sdk_client.js";
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 802 await service.updateMemberPublicName(process, newValue);
2025-09-19T17:13:49 [IHM]    ~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 861 const lastState = service.getLastCommitedState(process);
2025-09-19T17:13:49 [IHM]    ~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 870 const publicData = await service.getPublicData(process);
2025-09-19T17:13:49 [IHM]    ~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type '(h: string) => string' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => string'.
2025-09-19T17:13:49 [IHM] Types of parameters 'h' and 'value' are incompatible.
2025-09-19T17:13:49 [IHM] Type 'unknown' is not assignable to type 'string'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 174 state.commitmentHashes = Object.values(json.pcd_commitment).map((h: string) =>
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM] 175 h.toLowerCase()
2025-09-19T17:13:49 [IHM]   ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 209 const processId = state.certificate.process_id;
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 58 let newState = service.getStateFromId(process, stateId);
2025-09-19T17:13:49 [IHM]    ~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2322: Type 'Blob | null' is not assignable to type 'BlobPart'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'BlobPart'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 65 const blob = new Blob([encryptedData], { type: "application/octet-stream" });
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'generateProcessPdf' does not exist on type 'Services'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 74 await service.generateProcessPdf(processId, newState);
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS7053: Element implicitly has an 'any' type because expression of type '"process_id"' can't be used to index type 'ProcessState'.
2025-09-19T17:13:49 [IHM] Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 77 newState['process_id'] = processId;
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 3 import { Process } from '../../pkg/sdk_client.js';
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:50 [IHM] 7 import { RoleDefinition } from '../pkg/sdk_client.js';
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'storages' does not exist on type 'UserDiff'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 706 const storages = diff.storages;
2025-09-19T17:13:50 [IHM]    ~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'never[]' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Property 'states' is missing in type 'never[]' but required in type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 166 await service.checkConnections([]);
2025-09-19T17:13:50 [IHM]    ~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] pkg/sdk_client.d.ts:155:5
2025-09-19T17:13:50 [IHM] 155 states: ProcessState[];
2025-09-19T17:13:50 [IHM]    ~~~~~~
2025-09-19T17:13:50 [IHM] 'states' is declared here.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] VITE v5.4.11 ready in 6620 ms
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] ➜ Local: http://localhost:3003/
2025-09-19T17:13:50 [IHM] ➜ Network: http://172.20.0.5:3003/
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] > sdk_client@1.0.0 start
2025-09-19T17:13:50 [IHM] > vite --host 0.0.0.0
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 1 import { Device, Process, SecretsStore } from "../pkg/sdk_client.js";
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 802 await service.updateMemberPublicName(process, newValue);
2025-09-19T17:13:50 [IHM]    ~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 861 const lastState = service.getLastCommitedState(process);
2025-09-19T17:13:50 [IHM]    ~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 870 const publicData = await service.getPublicData(process);
2025-09-19T17:13:50 [IHM]    ~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type '(h: string) => string' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => string'.
2025-09-19T17:13:50 [IHM] Types of parameters 'h' and 'value' are incompatible.
2025-09-19T17:13:50 [IHM] Type 'unknown' is not assignable to type 'string'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 174 state.commitmentHashes = Object.values(json.pcd_commitment).map((h: string) =>
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM] 175 h.toLowerCase()
2025-09-19T17:13:50 [IHM]   ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 209 const processId = state.certificate.process_id;
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 58 let newState = service.getStateFromId(process, stateId);
2025-09-19T17:13:50 [IHM]    ~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2322: Type 'Blob | null' is not assignable to type 'BlobPart'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'BlobPart'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 65 const blob = new Blob([encryptedData], { type: "application/octet-stream" });
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'generateProcessPdf' does not exist on type 'Services'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 74 await service.generateProcessPdf(processId, newState);
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS7053: Element implicitly has an 'any' type because expression of type '"process_id"' can't be used to index type 'ProcessState'.
2025-09-19T17:13:50 [IHM] Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 77 newState['process_id'] = processId;
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 3 import { Process } from '../../pkg/sdk_client.js';
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 7 import { RoleDefinition } from '../pkg/sdk_client.js';
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'storages' does not exist on type 'UserDiff'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 706 const storages = diff.storages;
2025-09-19T17:13:50 [IHM]    ~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'never[]' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Property 'states' is missing in type 'never[]' but required in type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 166 await service.checkConnections([]);
2025-09-19T17:13:50 [IHM]    ~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] pkg/sdk_client.d.ts:155:5
2025-09-19T17:13:50 [IHM] 155 states: ProcessState[];
2025-09-19T17:13:50 [IHM]    ~~~~~~
2025-09-19T17:13:50 [IHM] 'states' is declared here.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] VITE v5.4.11 ready in 7270 ms
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] ➜ Local: http://localhost:3003/
2025-09-19T17:13:50 [IHM] ➜ Network: http://172.20.0.11:3003/
2025-09-19T17:14:29 [IHM]
2025-09-19T17:14:29 [IHM] WARN Files in the public directory are served at the root path.
2025-09-19T17:14:29 [IHM] Instead of /public/style/4nk.css, use /style/4nk.css.
2025-09-19T17:14:29 [IHM]