I can‘t make---->Solution: Do not use root account to make, it can causes build errors~

on this page,

says:

Clone the repository

git clone GitHub - jitsi/jitsi-meet: Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
cd ./jitsi-meet

To build the Jitsi Meet application, just type

make


following the steps, when I make ,there‘s always something wrong.
my server is Ubantu 20

how can I do?

root@server:~# node -v
v14.17.0
root@server:~# npm -v
6.14.13
root@server:~# npx -v
6.14.13

root@server:/opt/jitsi-meet# make
npm install --prefix resources/load-test && npm run build --prefix resources/load-test
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.1 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.1: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

audited 779 packages in 3.351s

28 packages are looking for funding
run npm fund for details

found 16 vulnerabilities (14 low, 2 moderate)
run npm audit fix to fix them, or npm audit for details

jitsi-meet-load-test@0.0.0 build /opt/jitsi-meet/resources/load-test
webpack -p

[BABEL] Note: The code generator has deoptimised the styling of /opt/jitsi-meet/node_modules/lodash/lodash.js as it exceeds the max of 500KB.
Hash: 7a22e9e5223f40df2b3d
Version: webpack 4.43.0
Child
Hash: 7a22e9e5223f40df2b3d
Time: 3994ms
Built at: 05/24/2021 2:37:26 PM
Asset Size Chunks Chunk Names
load-test-participant.min.js 218 KiB 0 [emitted] load-test-participant
load-test-participant.min.map 1.1 MiB 0 [emitted] [dev] load-test-participant
Entrypoint load-test-participant = load-test-participant.min.js load-test-participant.min.map
[2] (webpack)/buildin/global.js 472 bytes {0} [built]
[4] /opt/jitsi-meet/react/features/base/logging/LogTransport.web.js 0 bytes {0} [built]
[13] (webpack)/buildin/amd-options.js 80 bytes {0} [built]
[14] (webpack)/buildin/module.js 497 bytes {0} [built]
[16] /opt/jitsi-meet/react/features/base/lib-jitsi-meet/_.web.js 27 bytes {0} [built]
[17] ./load-test-participant.js + 28 modules 75.2 KiB {0} [built]
| ./load-test-participant.js 10.2 KiB [built]
| /opt/jitsi-meet/react/features/base/util/parseURLParams.js 1.46 KiB [built]
| /opt/jitsi-meet/react/features/base/util/uri.js 16.8 KiB [built]
| /opt/jitsi-meet/react/features/base/config/functions.web.js 1.44 KiB [built]
| /opt/jitsi-meet/react/features/base/lastn/functions.js 2.78 KiB [built]
| /opt/jitsi-meet/react/features/base/config/constants.js 780 bytes [built]
| /opt/jitsi-meet/react/features/base/util/helpers.js 4.11 KiB [built]
| /opt/jitsi-meet/react/features/base/util/strings.web.js 240 bytes [built]
| /opt/jitsi-meet/react/features/base/config/functions.any.js 6.38 KiB [built]
| /opt/jitsi-meet/react/features/video-quality/constants.js 738 bytes [built]
| /opt/jitsi-meet/react/features/base/util/index.js 178 bytes [built]
| /opt/jitsi-meet/react/features/base/config/configWhitelist.js 4.47 KiB [built]
| /opt/jitsi-meet/react/features/base/config/interfaceConfigWhitelist.js 1.47 KiB [built]
| /opt/jitsi-meet/react/features/base/config/logger.js 99 bytes [built]
| /opt/jitsi-meet/react/features/base/config/getRoomName.js 389 bytes [built]
| + 14 hidden modules
+ 12 hidden modules
./node_modules/.bin/webpack -p
Browserslist: caniuse-lite is outdated. Please run next command npm update
Hash: b42a6d7bf05da115501001966f4aa6f405f19aaf8b9f9b7838f1cb2bc53dd37543456926d422b5b854dd8197c6bb7cd5e3868453b3d66217281f7203942244a88d1fffdbdcb9348d2603f215a56ea9dd
Version: webpack 4.43.0
Child
Hash: b42a6d7bf05da1155010
Time: 33288ms
Built at: 05/24/2021 2:38:00 PM
Asset Size Chunks Chunk Names
app.bundle.min.js 3.23 MiB 0 [emitted] app.bundle
app.bundle.min.map 10.2 MiB 0 [emitted] [dev] app.bundle
Entrypoint app.bundle = app.bundle.min.js app.bundle.min.map
[3] ./react/features/base/lib-jitsi-meet/index.js 1.42 KiB {0} [built]
[4] ./react/features/analytics/index.js 63 bytes {0} [built]
[5] ./react/features/base/participants/index.js + 1 modules 233 bytes {0} [built]
| ./react/features/base/participants/index.js 145 bytes [built]
| + 1 hidden module
[6] ./react/features/base/i18n/index.js + 28 modules 89.9 KiB {0} [built]
| ./react/features/base/i18n/index.js 261 bytes [built]
| ./react/features/base/i18n/i18next.js 2.09 KiB [built]
| ./react/features/base/i18n/dateUtil.js 3.76 KiB [built]
| ./react/features/base/i18n/languageDetector.web.js 1.13 KiB [built]
| ./react/features/base/i18n/configLanguageDetector.js 455 bytes [built]
| ./react/features/base/i18n/customNavigatorDetector.js 1.36 KiB [built]
| + 23 hidden modules
[11] ./react/features/base/conference/index.js 115 bytes {0} [built]
[14] ./react/features/base/media/index.js + 5 modules 5.24 KiB {0} [built]
| ./react/features/base/media/index.js 145 bytes [built]
| + 5 hidden modules
[15] ./react/features/base/dialog/index.js + 77 modules 182 KiB {0} [built]
| ./react/features/base/dialog/index.js 116 bytes [built]
| ./react/features/base/dialog/logger.js 99 bytes [built]
| ./react/features/base/util/react-focus-lock-wrapper.js 2.75 KiB [built]
| + 75 hidden modules
[16] ./react/features/base/tracks/index.js 86 bytes {0} [built]
[18] ./react/features/base/util/index.js + 6 modules 19.8 KiB {0} [built]
| ./react/features/base/util/index.js 178 bytes [built]
| ./react/features/base/util/httpUtils.js 1.06 KiB [built]
| ./react/features/base/util/loadScript.web.js 555 bytes [built]
| ./react/features/base/util/openURLInBrowser.web.js 326 bytes [built]
| ./react/features/base/util/uri.js 16.4 KiB [built]
| ./react/features/base/util/timeoutPromise.js 1.06 KiB [built]
| ./react/features/base/util/strings.web.js 240 bytes [built]
[19] ./react/features/base/react/index.js 133 bytes {0} [built]
[20] ./react/features/base/logging/functions.js 1.22 KiB {0} [built]
[470] ./conference.js 95.3 KiB {0} [built]
[518] ./modules/UI/UI.js 11.4 KiB {0} [built]
[520] ./modules/keyboardshortcut/keyboardshortcut.js 6.19 KiB {0} [built]
[704] ./app.js + 304 modules 659 KiB {0} [built]
| ./app.js 2.08 KiB [built]
| ./react/features/base/jitsi-local-storage/setup.web.js 2.23 KiB [built]
| ./modules/API/index.js 90 bytes [built]
| ./modules/translation/translation.js 1.15 KiB [built]
| ./react/index.web.js 2.12 KiB [built]
| ./react/features/base/jitsi-local-storage/logger.js 112 bytes [built]
| ./react/features/chrome-extension-banner/index.js 29 bytes [built]
| ./react/features/app/middlewares.web.js 567 bytes [built]
| ./react/features/app/reducers.web.js 516 bytes [built]
| ./react/features/authentication/middleware.web.js 3.33 KiB [built]
| ./react/features/base/devices/middleware.js 11.2 KiB [built]
| ./react/features/e2ee/middleware.js 2.16 KiB [built]
| ./react/features/external-api/middleware.js 5.08 KiB [built]
| ./react/features/keyboard-shortcuts/middleware.js 557 bytes [built]
| ./react/features/local-recording/middleware.js 3.14 KiB [built]
| + 290 hidden modules
+ 837 hidden modules

WARNING in ./node_modules/@atlaskit/modal-dialog/dist/esm/components/Positioner.js 15:24-39
"export 'PositionerFixed' was not found in '../styled/Modal'
 @ ./node_modules/@atlaskit/modal-dialog/dist/esm/components/Modal.js
 @ ./node_modules/@atlaskit/modal-dialog/dist/esm/components/ModalWrapper.js
 @ ./node_modules/@atlaskit/modal-dialog/dist/esm/index.js
 @ ./react/features/base/dialog/components/web/DialogContainer.js
 @ ./react/features/base/dialog/components/web/index.js
 @ ./react/features/base/dialog/components/_.web.js
 @ ./react/features/base/dialog/components/index.js
 @ ./react/features/base/dialog/index.js
 @ ./modules/keyboardshortcut/keyboardshortcut.js
 @ ./app.js

Child
Hash: 01966f4aa6f405f19aaf
Time: 21273ms
Built at: 05/24/2021 2:37:48 PM
Asset Size Chunks Chunk Names
alwaysontop.min.js 329 KiB 0 [emitted] alwaysontop
alwaysontop.min.map 1.59 MiB 0 [emitted] [dev] alwaysontop
Entrypoint alwaysontop = alwaysontop.min.js alwaysontop.min.map
[38] (webpack)/buildin/global.js 472 bytes {0} [built]
[39] (webpack)/buildin/module.js 497 bytes {0} [built]
[45] (webpack)/buildin/harmony-module.js 573 bytes {0} [built]
[57] ./react/features/always-on-top/index.js + 266 modules 389 KiB {0} [built]
| ./react/features/always-on-top/index.js 364 bytes [built]
| ./react/features/always-on-top/AlwaysOnTop.js 5.82 KiB [built]
| ./react/features/base/avatar/functions.js 1.07 KiB [built]
| ./react/features/always-on-top/Toolbar.js 975 bytes [built]
| ./react/features/base/icons/index.js 52 bytes [built]
| ./react/features/always-on-top/AudioMuteButton.js 3.2 KiB [built]
| ./react/features/always-on-top/HangupButton.js 931 bytes [built]
| ./react/features/always-on-top/VideoMuteButton.js 3.2 KiB [built]
| ./react/features/base/icons/svg/index.js 7.91 KiB [built]
| ./react/features/base/icons/svg/add.svg 635 bytes [built]
| ./react/features/base/icons/svg/link.svg 825 bytes [built]
| ./react/features/base/icons/svg/arrow_back.svg 690 bytes [built]
| ./react/features/base/icons/svg/arrow_down.svg 749 bytes [built]
| ./react/features/base/icons/svg/arrow_down_large.svg 630 bytes [built]
| ./react/features/base/icons/svg/arrow-down-small.svg 766 bytes [built]
| + 252 hidden modules
+ 91 hidden modules
Child
Hash: 8b9f9b7838f1cb2bc53d
Time: 9945ms
Built at: 05/24/2021 2:37:37 PM
Asset Size Chunks Chunk Names
dial_in_info_bundle.min.js 401 KiB 0 [emitted] dial_in_info_bundle
dial_in_info_bundle.min.map 1.16 MiB 0 [emitted] [dev] dial_in_info_bundle
Entrypoint dial_in_info_bundle = dial_in_info_bundle.min.js dial_in_info_bundle.min.map
[7] ./lang/languages.json 1.19 KiB {0} [built]
[13] ./lang/main.json 51.7 KiB {0} [built]
[29] (webpack)/buildin/module.js 497 bytes {0} [built]
[39] ./react/features/base/i18n/BuiltinLanguages.web.js 0 bytes {0} [built]
[92] ./react/features/invite/components/dial-in-info-page/index.js + 59 modules 157 KiB {0} [built]
| ./react/features/base/environment/utils.js 1.14 KiB [built]
| ./react/features/base/i18n/index.js 261 bytes [built]
| ./react/features/base/util/parseURLParams.js 1.46 KiB [built]
| ./react/features/base/react/Platform.web.js 841 bytes [built]
| ./react/features/base/i18n/i18next.js 2.09 KiB [built]
| ./react/features/base/i18n/dateUtil.js 3.76 KiB [built]
| ./react/features/base/i18n/functions.js 1.04 KiB [built]
| ./react/features/base/util/helpers.js 4.11 KiB [built]
| ./react/features/base/i18n/languageDetector.web.js 1.13 KiB [built]
| ./react/features/base/i18n/configLanguageDetector.js 455 bytes [built]
| ./react/features/base/i18n/customNavigatorDetector.js 1.36 KiB [built]
| ./react/features/base/util/index.js 178 bytes [built]
| ./react/features/base/util/httpUtils.js 1.06 KiB [built]
| ./react/features/base/util/loadScript.web.js 555 bytes [built]
| ./react/features/base/util/openURLInBrowser.web.js 326 bytes [built]
| + 45 hidden modules
+ 88 hidden modules
Child
Hash: d37543456926d422b5b8
Time: 5981ms
Built at: 05/24/2021 2:37:33 PM
Asset Size Chunks Chunk Names
do_external_connect.min.js 3.13 KiB 0 [emitted] do_external_connect
do_external_connect.min.map 37.3 KiB 0 [emitted] [dev] do_external_connect
Entrypoint do_external_connect = do_external_connect.min.js do_external_connect.min.map
[1] ./connection_optimization/do_external_connect.js + 10 modules 28.2 KiB {0} [built]
| ./connection_optimization/do_external_connect.js 2.41 KiB [built]
| ./react/features/base/util/parseURLParams.js 1.46 KiB [built]
| ./react/features/base/config/getRoomName.js 389 bytes [built]
| ./react/features/base/util/helpers.js 4.11 KiB [built]
| ./react/features/base/util/index.js 178 bytes [built]
| ./react/features/base/util/httpUtils.js 1.06 KiB [built]
| ./react/features/base/util/loadScript.web.js 555 bytes [built]
| ./react/features/base/util/openURLInBrowser.web.js 326 bytes [built]
| ./react/features/base/util/uri.js 16.4 KiB [built]
| ./react/features/base/util/timeoutPromise.js 1.06 KiB [built]
| ./react/features/base/util/strings.web.js 240 bytes [built]
+ 1 hidden module
Child
Hash: 54dd8197c6bb7cd5e386
Time: 2359ms
Built at: 05/24/2021 2:37:29 PM
Asset Size Chunks Chunk Names
flacEncodeWorker.min.js 3.94 KiB 0 [emitted] flacEncodeWorker
flacEncodeWorker.min.map 19.4 KiB 0 [emitted] [dev] flacEncodeWorker
Entrypoint flacEncodeWorker = flacEncodeWorker.min.js flacEncodeWorker.min.map
[0] ./react/features/local-recording/recording/flac/flacEncodeWorker.js + 1 modules 10.1 KiB {0} [built]
| ./react/features/local-recording/recording/flac/flacEncodeWorker.js 9.04 KiB [built]
| ./react/features/local-recording/recording/flac/messageTypes.js 1.05 KiB [built]
Child
Hash: 8453b3d66217281f7203
Time: 5700ms
Built at: 05/24/2021 2:37:33 PM
Asset Size Chunks Chunk Names
analytics-ga.min.js 3.87 KiB 0 [emitted] analytics-ga
analytics-ga.min.map 22 KiB 0 [emitted] [dev] analytics-ga
Entrypoint analytics-ga = analytics-ga.min.js analytics-ga.min.map
[1] ./react/features/analytics/handlers/GoogleAnalyticsHandler.js + 10 modules 31.9 KiB {0} [built]
| ./react/features/analytics/handlers/GoogleAnalyticsHandler.js 4.18 KiB [built]
| ./react/features/base/util/index.js 178 bytes [built]
| ./react/features/analytics/handlers/AbstractHandler.js 2.35 KiB [built]
| ./react/features/base/util/helpers.js 4.11 KiB [built]
| ./react/features/base/util/httpUtils.js 1.06 KiB [built]
| ./react/features/base/util/loadScript.web.js 555 bytes [built]
| ./react/features/base/util/openURLInBrowser.web.js 326 bytes [built]
| ./react/features/base/util/parseURLParams.js 1.46 KiB [built]
| ./react/features/base/util/uri.js 16.4 KiB [built]
| ./react/features/base/util/timeoutPromise.js 1.06 KiB [built]
| ./react/features/base/util/strings.web.js 240 bytes [built]
+ 1 hidden module
Child
Hash: 942244a88d1fffdbdcb9
Time: 1524ms
Built at: 05/24/2021 2:37:28 PM
Asset Size Chunks Chunk Names
close3.min.js 972 bytes 0 [emitted] close3
close3.min.map 4.53 KiB 0 [emitted] [dev] close3
Entrypoint close3 = close3.min.js close3.min.map
[0] ./static/close3.js 0 bytes {0} [built]
Child
Hash: 348d2603f215a56ea9dd
Time: 7433ms
Built at: 05/24/2021 2:37:34 PM
Asset Size Chunks Chunk Names
external_api.min.js 30.7 KiB 0 [emitted] external_api
external_api.min.map 164 KiB 0 [emitted] [dev] external_api
Entrypoint external_api = external_api.min.js external_api.min.map
[0] ./modules/API/external/functions.js 3.96 KiB {0} [built]
[6] ./modules/API/external/index.js 171 bytes {0} [built]
[8] ./modules/API/external/external_api.js + 16 modules 76.9 KiB {0} [built]
| ./modules/API/external/external_api.js 35.2 KiB [built]
| ./react/features/base/util/uri.js 16.4 KiB [built]
| ./modules/transport/index.js 1.27 KiB [built]
| ./react/features/base/util/parseURLParams.js 1.46 KiB [built]
| ./react/features/base/util/strings.web.js 240 bytes [built]
| ./react/features/base/util/index.js 178 bytes [built]
| ./modules/API/constants.js 768 bytes [built]
| ./react/features/base/util/helpers.js 4.11 KiB [built]
| ./react/features/base/util/httpUtils.js 1.06 KiB [built]
| ./react/features/base/util/loadScript.web.js 555 bytes [built]
| ./react/features/base/util/openURLInBrowser.web.js 326 bytes [built]
| ./react/features/base/util/timeoutPromise.js 1.06 KiB [built]
| + 5 hidden modules
+ 6 hidden modules
rm -fr libs
mkdir -p libs
cp
build/app.bundle.min.js
build/app.bundle.min.map
build/do_external_connect.min.js
build/do_external_connect.min.map
build/external_api.min.js
build/external_api.min.map
build/flacEncodeWorker.min.js
build/flacEncodeWorker.min.map
build/dial_in_info_bundle.min.js
build/dial_in_info_bundle.min.map
build/alwaysontop.min.js
build/alwaysontop.min.map
./analytics-ga.js
build/analytics-ga.min.js
build/analytics-ga.min.map
build/close3.min.js
build/close3.min.map
libs
cp
node_modules/rnnoise-wasm/dist//rnnoise.wasm
libs
cp
react/features/stream-effects/virtual-background/vendor/tflite/.wasm
libs
cp
react/features/stream-effects/virtual-background/vendor/models//
.tflite
libs
cp
node_modules/lib-jitsi-meet//lib-jitsi-meet.min.js
node_modules/lib-jitsi-meet//lib-jitsi-meet.min.map
node_modules/lib-jitsi-meet//lib-jitsi-meet.e2ee-worker.js
node_modules/lib-jitsi-meet//connection_optimization/external_connect.js
node_modules/lib-jitsi-meet//modules/browser/capabilities.json
libs
cp: cannot stat ‘node_modules/lib-jitsi-meet//lib-jitsi-meet.min.js’: No such file or directory
cp: cannot stat ‘node_modules/lib-jitsi-meet//lib-jitsi-meet.min.map’: No such file or directory
cp: cannot stat ‘node_modules/lib-jitsi-meet//lib-jitsi-meet.e2ee-worker.js’: No such file or directory
cp: cannot stat ‘node_modules/lib-jitsi-meet//connection_optimization/external_connect.js’: No such file or directory
cp: cannot stat ‘node_modules/lib-jitsi-meet//modules/browser/capabilities.json’: No such file or directory
make: *** [Makefile:59: deploy-lib-jitsi-meet] Error 1

Try deleting node-modules then try again.

root@server:/opt/jitsi-meet# rm -rf node_modules
root@server:/opt/jitsi-meet# make
npm install --prefix resources/load-test && npm run build --prefix resources/load-test
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.1 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.1: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

audited 779 packages in 3.435s

28 packages are looking for funding
run npm fund for details

found 16 vulnerabilities (14 low, 2 moderate)
run npm audit fix to fix them, or npm audit for details

jitsi-meet-load-test@0.0.0 build /opt/jitsi-meet/resources/load-test
webpack -p

/opt/jitsi-meet/resources/load-test/node_modules/webpack-cli/bin/cli.js:93
throw err;
^

Error: Cannot find module ‘@babel/preset-react’
Require stack:

  • /opt/jitsi-meet/resources/load-test/webpack.config.js
  • /opt/jitsi-meet/resources/load-test/node_modules/webpack-cli/bin/utils/convert-argv.js
  • /opt/jitsi-meet/resources/load-test/node_modules/webpack-cli/bin/cli.js
  • /opt/jitsi-meet/resources/load-test/node_modules/webpack/bin/webpack.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
    at Function.resolve (/opt/jitsi-meet/resources/load-test/node_modules/v8-compile-cache/v8-compile-cache.js:166:23)
    at Object. (/opt/jitsi-meet/resources/load-test/webpack.config.js:70:29)
    at Module._compile (/opt/jitsi-meet/resources/load-test/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:933:32)
    at Function.Module._load (internal/modules/cjs/loader.js:774:14)
    at Module.require (internal/modules/cjs/loader.js:957:19)
    at require (/opt/jitsi-meet/resources/load-test/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
    at WEBPACK_OPTIONS (/opt/jitsi-meet/resources/load-test/node_modules/webpack-cli/bin/utils/convert-argv.js:114:13)
    at requireConfig (/opt/jitsi-meet/resources/load-test/node_modules/webpack-cli/bin/utils/convert-argv.js:116:6)
    at /opt/jitsi-meet/resources/load-test/node_modules/webpack-cli/bin/utils/convert-argv.js:123:17
    at Array.forEach ()
    at module.exports (/opt/jitsi-meet/resources/load-test/node_modules/webpack-cli/bin/utils/convert-argv.js:121:15)
    at /opt/jitsi-meet/resources/load-test/node_modules/webpack-cli/bin/cli.js:71:45
    at Object.parse (/opt/jitsi-meet/resources/load-test/node_modules/yargs/yargs.js:567:18)
    at /opt/jitsi-meet/resources/load-test/node_modules/webpack-cli/bin/cli.js:49:8
    at Object. (/opt/jitsi-meet/resources/load-test/node_modules/webpack-cli/bin/cli.js:366:3)
    at Module._compile (internal/modules/cjs/loader.js:1068:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:933:32)
    at Function.Module._load (internal/modules/cjs/loader.js:774:14)
    at Module.require (internal/modules/cjs/loader.js:957:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object. (/opt/jitsi-meet/resources/load-test/node_modules/webpack/bin/webpack.js:156:2)
    at Module._compile (internal/modules/cjs/loader.js:1068:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:933:32)
    at Function.Module._load (internal/modules/cjs/loader.js:774:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
    code: ‘MODULE_NOT_FOUND’,
    requireStack: [
    ‘/opt/jitsi-meet/resources/load-test/webpack.config.js’,
    ‘/opt/jitsi-meet/resources/load-test/node_modules/webpack-cli/bin/utils/convert-argv.js’,
    ‘/opt/jitsi-meet/resources/load-test/node_modules/webpack-cli/bin/cli.js’,
    ‘/opt/jitsi-meet/resources/load-test/node_modules/webpack/bin/webpack.js’
    ]
    }
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! jitsi-meet-load-test@0.0.0 build: webpack -p
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the jitsi-meet-load-test@0.0.0 build script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-05-24T06_54_13_646Z-debug.log
make: *** [Makefile:25: compile-load-test] Error 1


try npm install below:

root@server:/opt/jitsi-meet# npm install

lib-jitsi-meet@github:jitsi/lib-jitsi-meet#f95a455c0808f55e42af9902a1b8c3fe57417c81 postinstall /opt/jitsi-meet/node_modules/lib-jitsi-meet
webpack -p

Error: EACCES: permission denied, open ‘/opt/jitsi-meet/node_modules/lib-jitsi-meet/lib-jitsi-meet.e2ee-worker.js’
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! lib-jitsi-meet@github:jitsi/lib-jitsi-meet#f95a455c0808f55e42af9902a1b8c3fe57417c81 postinstall: webpack -p
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lib-jitsi-meet@github:jitsi/lib-jitsi-meet#f95a455c0808f55e42af9902a1b8c3fe57417c81 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-05-24T06_55_20_648Z-debug.log
root@server:/opt/jitsi-meet#

the error is :

cp: cannot stat ‘node_modules/lib-jitsi-meet//lib-jitsi-meet.min.js’: No such file or directory
cp: cannot stat ‘node_modules/lib-jitsi-meet//lib-jitsi-meet.min.map’: No such file or directory
cp: cannot stat ‘node_modules/lib-jitsi-meet//lib-jitsi-meet.e2ee-worker.js’: No such file or directory
cp: cannot stat ‘node_modules/lib-jitsi-meet//connection_optimization/external_connect.js’: No such file or directory
cp: cannot stat ‘node_modules/lib-jitsi-meet//modules/browser/capabilities.json’: No such file or directory
make: *** [Makefile:59: deploy-lib-jitsi-meet] Error 1


./node_modules/lib-jitsi-meet is not existing~
how can I do?

the error is:

Error: EACCES: permission denied, open ‘/opt/jitsi-meet/node_modules/lib-jitsi-meet/lib-jitsi-meet.e2ee-worker.js’

Did you update package.json? When I build, lib-jitsi-meet is not in the node_modules folder because I checked it out from git and update the package file to point locally. This is step 4 from this guide.

You should not be doing any of these as root.

Thank you, damencho~
but why root account is not ok? root may causes some build errors? or just for system security reasons?

Thank you, corby~
I did the way as you said,
but results the same error~
there’s still no /node_modules/lib-jitsi-meet/lib-jitsi-*.js as before…

Yes.

thank you very much~ :smiley:
I success got the lib-jitsi-meet.min.js and lib-jitsi-meet.e2ee-worker.js files with a normal user account~
非常开心,非常感谢~ :smiley: