Npm install warning and make error

Hello,

I used the quick install source and it worked perfectly well. There is no issue. Going ahead I thought of doing a manual installation. However manual installation is prompting for some vulnerability issues during npm install ad then finally the “make” fails.

Below is the error from npm install and make

sandboxuser@meet-sandbox:/srv/jitsi-meet$ npm install

node-sass@4.13.1 install /srv/jitsi-meet/node_modules/node-sass
node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.1/linux-x64-57_binding.node
Download complete…] - :
Binary saved to /srv/jitsi-meet/node_modules/node-sass/vendor/linux-x64-57/binding.node
Caching binary to /home/sandboxuser/.npm/node-sass/4.13.1/linux-x64-57_binding.node

final-form@4.12.0 postinstall /srv/jitsi-meet/node_modules/final-form
node -e “console.log(’\u001b[35m\u001b[1mUsing final-form at work? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/final-form/donate\u001b[0m’)”

Using final-form at work? You can now donate to our open collective:

https://opencollective.com/final-form/donate

styled-components@3.4.9 postinstall /srv/jitsi-meet/node_modules/styled-components
node ./scripts/postinstall.js || exit 0

Use styled-components at work? Consider supporting our development efforts at opencollective.com/styled-components

lib-jitsi-meet@github:jitsi/lib-jitsi-meet#dffe94f270f692c7421412bbbc597279e4a2d805 postinstall /srv/jitsi-meet/node_modules/lib-jitsi-meet
webpack -p

Hash: ##############
Version: webpack 4.27.1
Child
Hash: ############
Time: 23460ms
Built at: 05/01/2020 6:17:44 PM
Asset Size Chunks Chunk Names
lib-jitsi-meet.min.js 666 KiB 0 [emitted] lib-jitsi-meet
lib-jitsi-meet.min.map 2.79 MiB 0 [emitted] lib-jitsi-meet
Entrypoint lib-jitsi-meet = lib-jitsi-meet.min.js lib-jitsi-meet.min.map
[1] ./modules/browser/index.js 98 bytes {0} [built]
[3] ./JitsiConferenceEvents.js 9.35 KiB {0} [built]
[4] …/jitsi-meet-logger/lib/index.js 3.74 KiB {0} [built]
[5] ./modules/statistics/statistics.js 21.9 KiB {0} [built]
[7] ./service/statistics/AnalyticsEvents.js 17.4 KiB {0} [built]
[9] ./service/RTC/MediaType.js 184 bytes {0} [built]
[11] ./modules/util/GlobalOnErrorHandler.js 2.1 KiB {0} [built]
[12] ./modules/RTC/RTC.js 27.3 KiB {0} [built]
[14] ./JitsiTrackErrors.js 2.54 KiB {0} [built]
[15] ./JitsiTrackEvents.js 1.32 KiB {0} [built]
[16] ./JitsiTrackError.js 5.6 KiB {0} [built]
[18] ./JitsiConferenceErrors.js 2.15 KiB {0} [built]
[20] ./modules/detection/DetectionEvents.js 2.51 KiB {0} [built]
[134] ./index.js 160 bytes {0} [built]
[135] ./JitsiMeetJS.js 21.6 KiB {0} [built]
+ 138 hidden modules

node-sass@4.13.1 postinstall /srv/jitsi-meet/node_modules/node-sass
node scripts/build.js

Binary found at /srv/jitsi-meet/node_modules/node-sass/vendor/linux-x64-57/binding.node
Testing binary
Binary is fine

jitsi-meet@0.0.0 postinstall /srv/jitsi-meet
jetify

Jetifier found 1004 file(s) to forward-jetify. Using 2 workers…
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”})

added 2148 packages from 1104 contributors and audited 83118 packages in 89.149s

3 packages are looking for funding
run npm fund for details

found 5216 vulnerabilities (2832 low, 6 moderate, 2376 high, 2 critical)
run npm audit fix to fix them, or npm audit for details
sandboxuser@meet-sandbox:/srv/jitsi-meet$ npm audit fix
npm WARN @atlaskit/inline-dialog@5.3.0 requires a peer of react@15.6.0 - 16.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN @atlaskit/inline-dialog@5.3.0 requires a peer of react-dom@15.6.0 - 16.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN @atlaskit/layer@2.9.1 requires a peer of react@15.6.0 - 16.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN @atlaskit/theme@2.4.1 requires a peer of react@15.6.0 - 16.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN @react-native-community/async-storage@1.3.4 requires a peer of react-native@>=0.57 but none is installed. You must install peer dependencies yourself.
npm WARN @react-native-community/netinfo@4.1.5 requires a peer of react-native@>=0.59 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @react-native-community/cli@3.2.0 requires a peer of react-native@^0.61.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-background-timer@2.1.1 requires a peer of react-native@>=0.47.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-calendar-events@1.7.3 requires a peer of react-native@>=0.40.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-immersive@2.0.0 requires a peer of react-native@>=0.47.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-linear-gradient@2.5.6 requires a peer of react-native@>=0.55 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-sound@0.11.0 requires a peer of react-native@>=0.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-svg@9.7.1 requires a peer of react-native@>=0.50.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-svg-transformer@0.13.0 requires a peer of react-native@>=0.45.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-webrtc@1.75.3 requires a peer of react-native@>=0.40.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-webview@7.4.1 requires a peer of react-native@>=0.60 <0.62 but none is installed. You must install peer dependencies yourself.
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”})

  • webpack@4.43.0
  • webpack-cli@3.3.11
  • jsrsasign@8.0.15
    added 38 packages from 73 contributors, removed 41 packages, updated 95 packages and moved 1 package in 37.027s

5 packages are looking for funding
run npm fund for details

fixed 5162 of 5216 vulnerabilities in 83118 scanned packages
50 vulnerabilities required manual review and could not be updated
3 package updates for 4 vulnerabilities involved breaking changes
(use npm audit fix --force to install breaking changes; or refer to npm audit for steps to fix these manually)
sandboxuser@meet-sandbox:/srv/jitsi-meet$ sudo service jitsi-meet status
Unit jitsi-meet.service could not be found.
sandboxuser@meet-sandbox:/srv/jitsi-meet$ ls
CONTRIBUTING.md README.md app.js config.js debian fonts index.html lang node_modules react static
ConferenceEvents.js SECURITY.md base.html connection.js doc head.html index.ios.js logging_config.js package-lock.json resources title.html
LICENSE analytics-ga.js body.html connection_optimization favicon.ico images interface_config.js metro.config.js package.json service webpack.config.js
Makefile android conference.js css flow-typed index.android.js ios modules plugin.head.html sounds
sandboxuser@meet-sandbox:/srv/jitsi-meet$ make
./node_modules/.bin/webpack -p
/srv/jitsi-meet/node_modules/webpack-cli/bin/cli.js:93
throw err;
^

ReferenceError: URL is not defined

at Object.<anonymous> (/srv/jitsi-meet/webpack.config.js:43:33)
at Module._compile (/srv/jitsi-meet/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (/srv/jitsi-meet/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at WEBPACK_OPTIONS (/srv/jitsi-meet/node_modules/webpack-cli/bin/utils/convert-argv.js:114:13)
at requireConfig (/srv/jitsi-meet/node_modules/webpack-cli/bin/utils/convert-argv.js:116:6)
at /srv/jitsi-meet/node_modules/webpack-cli/bin/utils/convert-argv.js:123:17
at Array.forEach (<anonymous>)
at module.exports (/srv/jitsi-meet/node_modules/webpack-cli/bin/utils/convert-argv.js:121:15)
at yargs.parse (/srv/jitsi-meet/node_modules/webpack-cli/bin/cli.js:71:45)
at Object.parse (/srv/jitsi-meet/node_modules/webpack-cli/node_modules/yargs/yargs.js:567:18)
at /srv/jitsi-meet/node_modules/webpack-cli/bin/cli.js:49:8
at Object.<anonymous> (/srv/jitsi-meet/node_modules/webpack-cli/bin/cli.js:366:3)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/srv/jitsi-meet/node_modules/webpack/bin/webpack.js:156:2)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)

Makefile:19: recipe for target ‘compile’ failed
make: *** [compile] Error 1

Would be great to hear a feedback. As of now the jicofo, videobridge2 hasn’t been installed. This is the first module I am try to get it working.

Same issue