Monday, July 29, 2024

Continued from Saturday, July 20, 2024.

Here is my current output of npm run build:

$ npm run build

> lino_react@24.5.0 build
> NODE_OPTIONS='--max-old-space-size=8192' webpack --mode production

assets by status 3.81 MiB [cached] 51 assets
Entrypoint main = main.runtime.c483990e94f9f59f6c76.js main.2454e643ddf1a330e98b.js 2 auxiliary assets
orphan modules 1.24 MiB [orphan] 715 modules
runtime modules 12.2 KiB 14 modules
cacheable modules 5.02 MiB (javascript) 241 KiB (asset)
  modules by path ./node_modules/ 4.53 MiB (javascript) 241 KiB (asset)
    javascript modules 4.53 MiB 221 modules
    asset modules 210 bytes (javascript) 241 KiB (asset)
      ./node_modules/primeicons/fonts/primeicons.eot 42 bytes (javascript) 70.7 KiB (asset) [built] [code generated]
      ./node_modules/primeicons/fonts/primeicons.woff2 42 bytes (javascript) 29.5 KiB (asset) [built] [code generated]
      + 3 modules
  modules by path ./lino_react/react/ 494 KiB 38 modules
  modules by mime type image/png 357 bytes
    data:image/png;base64,iVBORw0KGgoAAAAN.. 179 bytes [built] [code generated]
    data:image/png;base64,iVBORw0KGgoAAAAN.. 178 bytes [built] [code generated]

LOG from InjectManifest
<i> The service worker at ../../config/react/service-worker.js will precache
<i>         0 URLs, totaling 0 B.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
7:7-17
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(7,8)
      TS2339: Property 'SERVER_URL' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
8:7-19
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(8,8)
      TS2339: Property 'WAIT_TIMEOUT' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
10:7-17
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(10,8)
      TS2339: Property 'waitToMeet' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
12:44-56
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(12,45)
      TS2339: Property 'WAIT_TIMEOUT' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
21:7-11
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(21,8)
      TS2339: Property 'wait' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
23:21-31
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(23,22)
      TS2339: Property 'waitToMeet' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
29:21-25
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(29,22)
      TS2339: Property 'wait' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
30:21-31
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(30,22)
      TS2339: Property 'waitToMeet' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
35:7-13
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(35,8)
      TS2339: Property 'signIn' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
36:17-21
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(36,18)
      TS2339: Property 'wait' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
38:17-27
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(38,18)
      TS2339: Property 'waitToMeet' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
54:17-27
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(54,18)
      TS2339: Property 'waitToMeet' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts
61:17-21
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/setupTests.ts(61,18)
      TS2339: Property 'wait' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/__tests__/cloneUI.ts
9:42-50
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/__tests__/cloneUI.ts(9,43)
      TS2322: Type '"new"' is not assignable to type 'boolean | "shell"'.

ERROR in /home/luc/work/react/lino_react/react/components/__tests__/cloneUI.ts
14:31-41
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/__tests__/cloneUI.ts(14,32)
      TS2339: Property 'SERVER_URL' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/__tests__/cloneUI.ts
15:21-27
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/__tests__/cloneUI.ts(15,22)
      TS2339: Property 'signIn' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/__tests__/cloneUI.ts
19:21-25
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/__tests__/cloneUI.ts(19,22)
      TS2339: Property 'wait' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/__tests__/cloneUI.ts
20:21-31
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/__tests__/cloneUI.ts(20,22)
      TS2339: Property 'waitToMeet' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/__tests__/cloneUI.ts
35:21-31
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/__tests__/cloneUI.ts(35,22)
      TS2339: Property 'waitToMeet' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/__tests__/integrity.ts
9:42-50
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/__tests__/integrity.ts(9,43)
      TS2322: Type '"new"' is not assignable to type 'boolean | "shell"'.

ERROR in /home/luc/work/react/lino_react/react/components/__tests__/integrity.ts
14:31-41
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/__tests__/integrity.ts(14,32)
      TS2339: Property 'SERVER_URL' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/__tests__/integrity.ts
18:31-41
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/__tests__/integrity.ts(18,32)
      TS2339: Property 'SERVER_URL' does not exist on type 'Global & typeof globalThis'.

ERROR in /home/luc/work/react/lino_react/react/components/__tests__/integrity.ts
19:21-27
[tsl] ERROR in /home/luc/work/react/lino_react/react/components/__tests__/integrity.ts(19,22)
      TS2339: Property 'signIn' does not exist on type 'Global & typeof globalThis'.

23 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.93.0 compiled with 23 errors in 15121 ms

It seems that I need to learn more about webpack and jest.

The story continues on Monday, August 5, 2024.