Make error


I’m trying to build from source, and get the following when executing ‘make’:
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//’: No such file or directory
Makefile:49: recipe for target ‘deploy-lib-jitsi-meet’ failed
make: *** [deploy-lib-jitsi-meet] Error 1

Full output of ‘npm install’ below:
$ npm install
npm WARN deprecated react-dom@16.3.1: This version of react-dom/server contains a minor vulnerability. Please update react-dom to 16.3.3 or 16.4.2+. Learn more:
npm WARN deprecated nomnom@1.6.2: Package no longer supported. Contact for more info.
WARN engine rtcpeerconnection-shim@1.2.14: wanted: {"npm":">=3.10.0","node":">=6.0.0"} (current: {"node":"8.10.0","npm":npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer
npm WARN prefer global node-gyp@3.8.0 should be installed with -g
npm WARN prefer global jshint@2.9.6 should be installed with -g
git-validate@2.2.4 install /home/mrmdbarton/jitsi-meet/node_modules/git-validate
node bin/install

Full output of ‘make’ below:
$ make
./node_modules/.bin/webpack -p
Hash: bf7d68299fd38c8fa4cf97cbffd1d8eb54a21fa2
Version: webpack 3.9.1
Hash: bf7d68299fd38c8fa4cf
Time: 467393ms
Asset Size Chunks Chunk Names
dial_in_info_bundle.min.js.LICENSE 1.23 kB [emitted]
app.bundle.min.js 2.35 MB 0 [emitted] [big] app.bundle
dial_in_info_bundle.min.js 456 kB 2 [emitted] [big] dial_in_info_bundle
alwaysontop.min.js 292 kB 3 [emitted] [big] alwaysontop
do_external_connect.min.js 11.1 kB 4 [emitted] do_external_connect
flacEncodeWorker.min.js 8.28 kB 5 [emitted] flacEncodeWorker
app.bundle.min.js.LICENSE 7.81 kB [emitted]
device_selection_popup_bundle.min.js.LICENSE 7.65 kB [emitted]
device_selection_popup_bundle.min.js 2.11 MB 1 [emitted] [big] device_selection_popup_bundle
alwaysontop.min.js.LICENSE 529 bytes [emitted] 10.9 MB 0 [emitted] app.bundle 9.81 MB 1 [emitted] device_selection_popup_bundle 1.89 MB 2 [emitted] dial_in_info_bundle 1.33 MB 3 [emitted] alwaysontop 78.1 kB 4 [emitted] do_external_connect 54.2 kB 5 [emitted] flacEncodeWorker
[460] ./react/features/local-recording/recording/flac/messageTypes.js 1.06 kB {0} {1} {5} [built]
[472] ./react/features/base/config/getRoomName.js 761 bytes {0} {1} {4} [built]
[656] ./app.js + 2 modules 4.49 kB {0} [built]
[662] ./conference.js 99.8 kB {0} [built]
[672] ./modules/keyboardshortcut/keyboardshortcut.js 7.44 kB {0} [built]
[673] ./modules/remotecontrol/RemoteControl.js 4.83 kB {0} [built]
[680] ./modules/UI/UI.js 30.5 kB {0} [built]
[685] ./react/index.web.js 1.93 kB {0} [built]
[686] ./react/features/settings/popup.js 444 bytes {1} [built]
[687] ./react/features/settings/DeviceSelectionPopup.js 13.4 kB {1} [built]
[688] ./react/features/always-on-top/index.js + 3 modules 15.3 kB {3} [built]
[691] multi ./react/features/base/react/prop-types-polyfill.js ./react/features/invite/components/dial-in-info-page 40 bytes {2} [built]
[692] ./react/features/invite/components/dial-in-info-page/index.js + 2 modules 4.03 kB {2} [built]
[693] ./connection_optimization/do_external_connect.js 2.51 kB {4} [built]
[694] ./react/features/local-recording/recording/flac/flacEncodeWorker.js 11.8 kB {5} [built]
+ 680 hidden modules
Hash: 97cbffd1d8eb54a21fa2
Time: 21987ms
Asset Size Chunks Chunk Names
external_api.min.js 26.6 kB 0 [emitted] external_api 126 kB 0 [emitted] external_api
[1] ./react/features/base/util/uri.js 15.5 kB {0} [built]
[3] ./modules/API/external/index.js 171 bytes {0} [built]
[4] ./modules/API/external/external_api.js 33.1 kB {0} [built]
[7] ./modules/transport/index.js + 8 modules 24 kB {0} [built]
[8] ./react/features/base/util/helpers.js 2.27 kB {0} [built]
[9] ./react/features/base/util/httpUtils.js 758 bytes {0} [built]
[11] ./modules/API/external/electronPopupsConfig.json 100 bytes {0} [built]
+ 5 hidden modules
rm -fr libs
mkdir -p 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//’: No such file or directory
Makefile:49: recipe for target ‘deploy-lib-jitsi-meet’ failed
make: *** [deploy-lib-jitsi-meet] Error 1

This is the first time I’ve built a react app, so any help would be appreciated!


meaning your lib-jitsi-meet.min.js file is not there.
try using npm install --force
if still not working then go to the path/to/jitsi-meet/node_modules/lib-jitsi-meet and execute command npm install you should see lib-jitsi-meet.min.js file if it success

once you see the lib-jitsi-meet.min.js then go to root dir and do make all


Thank you Tanvir

I have no lib-jitsi-meet folder in node_modules. This is the files structure as pulled from git.

mrmdbarton@instance-1:~/jitsi-meet/node_modules/lib-jitsi-meet$ ls
JitsiConference.js              JitsiMediaDevicesEvents.js   LICENSE                        modules
JitsiConferenceErrors.js        JitsiMeetJS.js                           node_modules
JitsiConferenceEventManager.js  JitsiParticipant.js          authenticateAndUpgradeRole.js  package-lock.json
JitsiConferenceEvents.js        JitsiParticipantEvents.js    connection_optimization        package.json
JitsiConnection.js              JitsiTrackError.js           doc                            service
JitsiConnectionErrors.js        JitsiTrackErrors.js          flow-typed                     webpack.config.js
JitsiConnectionEvents.js        JitsiTrackEvents.js          index.js
JitsiMediaDevices.js            JitsiTranscriptionStatus.js  karma.conf.js


yes now perform npm install in this directory. if npm does able to install you will see 3 files starts with ‘lib-jitsi-meet’


That worked - just running make all


Now just sits at
./node_modules/.bin/webpack -p

until my connection to the server times out.


looking at this:
My next step is to try this:


That didn’t work. Standard Ubuntu 18.04 server - building jitsi should not be this difficult


again what is the number of cpu and ram u using for the server? it will take about 3-7 mins depending on your cpu power. lowend webserver like $5-10 from AWS wont work. i strongly suggest u make using ur pc then upload the minified code to ur webserver. i recommand use a pc with atleast i5 and 8gb ram to build from source.


Thanks Tanvir - I’ll try that at some point. for now I’ve achieved what I need to (update the text on the welcome page) by search and replace on the libs files.