Build Jitsi

Hi, I’m trying to build jitsi from source, and having this problem:
~/jitsi-meet$ npm audit
npm audit report

@xmldom/xmldom 0.8.0 - 0.8.3
Severity: critical
xmldom allows multiple root nodes in a DOM - xmldom allows multiple root nodes in a DOM · CVE-2022-39353 · GitHub Advisory Database · GitHub
No fix available
node_modules/strophe.js/node_modules/@xmldom/xmldom
strophe.js >=1.5.0
Depends on vulnerable versions of @xmldom/xmldom
node_modules/strophe.js
lib-jitsi-meet
Depends on vulnerable versions of strophe.js
…/lib-jitsi-meet
node_modules/lib-jitsi-meet

3 critical severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

~/jitsi-meet$ node -v && npm -v

v16.20.0
9.6.5

What needs to be done? , or (with little chance) can I ignore this ?

Bart

Which version of jitsi-meet is this?

2.0.8615-1

This will fix it in the latest upstream. Thank you for the report. For now, you can ignore it.

TNX Damencho,

A little bit further, but how critisch is this:

ERROR in /home/jitsi-master/jitsi-meet/react/features/base/app/components/BaseApp.tsx
164:33-37
[tsl] ERROR in /home/jitsi-master/jitsi-meet/react/features/base/app/components/BaseApp.tsx(164,34)
TS2741: Property ‘reportNamespaces’ is missing in type ‘import(“/home/jitsi-master/jitsi-meet/node_modules/i18next/index”).default.i18n’ but required in type ‘import(“/home/jitsi-master/jitsi-meet/node_modules/i18next/index”).i18n’.
ts-loader-default_7b228a68e421e947

ERROR in /home/jitsi-master/jitsi-meet/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.tsx
21:25-29
[tsl] ERROR in /home/jitsi-master/jitsi-meet/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.tsx(21,26)
TS2322: Type ‘import(“/home/jitsi-master/jitsi-meet/node_modules/i18next/index”).default.i18n’ is not assignable to type ‘import(“/home/jitsi-master/jitsi-meet/node_modules/i18next/index”).i18n’.
ts-loader-default_7b228a68e421e947

webpack 5.76.0 compiled with 2 errors in 266784 ms

assets by status 154 KiB [cached] 1 asset
orphan modules 182 KiB [orphan] 5 modules
./react/features/stream-effects/noise-suppression/NoiseSuppressorWorklet.ts + 5 modules 189 KiB [built] [code generated]

ERROR in /home/jitsi-master/jitsi-meet/react/features/base/app/components/BaseApp.tsx
164:33-37
[tsl] ERROR in /home/jitsi-master/jitsi-meet/react/features/base/app/components/BaseApp.tsx(164,34)
TS2741: Property ‘reportNamespaces’ is missing in type ‘import(“/home/jitsi-master/jitsi-meet/node_modules/i18next/index”).default.i18n’ but required in type ‘import(“/home/jitsi-master/jitsi-meet/node_modules/i18next/index”).i18n’.
ts-loader-default_7b228a68e421e947

ERROR in /home/jitsi-master/jitsi-meet/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.tsx
21:25-29
[tsl] ERROR in /home/jitsi-master/jitsi-meet/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.tsx(21,26)
TS2322: Type ‘import(“/home/jitsi-master/jitsi-meet/node_modules/i18next/index”).default.i18n’ is not assignable to type ‘import(“/home/jitsi-master/jitsi-meet/node_modules/i18next/index”).i18n’.
ts-loader-default_7b228a68e421e947

webpack 5.76.0 compiled with 2 errors in 117749 ms
make: *** [Makefile:30: compile] Error 1

No idea about that, haven’t seen it. Are you seeing this if you try to build latest master with no modifications?

Yes with 2.0.8615-1 and made no changes.

What are the node and npm versions you use?

jitsi-master@jitsi-dev:~$ node -v && npm -v
v16.20.0
8.19.4

Using these instruction:
ttps://github.com/jitsi/jitsi-make/blob/master/doc/development.md

Interesting… i cannot reproduce that …

The following works for me

node -v
  v18.16.0
npm -v
  9.5.1
free -m
                 total        used        free      shared  buff/cache   available
  Mem:           31804        4051       16706         632       11046       26685
  Swap:          36874           0       36874

git clone https://github.com/jitsi/jitsi-meet.git
cd jitsi-meet
npm install
make