Jitsi meet compile and deploy

Hi,
I have started Jitsi meet installation using the quick install, from the unstable version. I also cloned Jitsi repo and started some modification in the UI.

Now when I do pull request or fetch request locally I see updates such as share screen button, shared document. but once I do MAKE ALL and deploy libs and css ( all.css) to the server I don’t see any of the new updates.

Can some one help me if I am missing something or I am not deploying everything?

Thank you

It’s possible your browser is caching the assets. Have you tried forcing a reload / using incognito mode?

Yes, I just did cognition and hard refresh as well. but it is the same thing. Thank you saghul for the fast reply.

what else I can investigate to solve that?

What files did you modify and what files are you deploying to your server?

Just to note that I can see all the new changes locally I can’t see it only when I deploy to the server.

I deploy the libs folder and the all.css below is my make all results:

This goes to the libs folder under /usr/share/jitsi-meet/libs
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/device_selection_popup_bundle.min.js
build/device_selection_popup_bundle.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 \

And this goes under: /usr/share/jitsi-meet/css

css/all.bundle.css > css/all.css

My changes I have just added:
new welcome page
and added new button to ChatMessage.web.js file to share files on the chat. All my changes show up locally.

for the sake of finding out what is wrong I have Pulled all the changes from Jitsi repo to my cloned repo again. Now it is not building and I get this:

B {flacEncodeWorker} [built]
[./react/features/settings/popup.js] 315 bytes {device_selection_popup_bundle} [built]
+ 1671 hidden modules

ERROR in ./react/features/app/getRouteToRender.js
Module not found: Error: Can't resolve 'js-utils/random' in '/home/webhay/JM/jitsimeet/react/features/app'
 @ ./react/features/app/getRouteToRender.js 1:0-63 117:24-52
 @ ./react/features/app/middleware.js
 @ ./react/features/app/index.js
 @ ./conference.js
 @ ./app.js
 @ multi (webpack)-dev-server/client?https://localhost:8091 ./app.js

ERROR in ./react/features/base/participants/reducer.js
Module not found: Error: Can't resolve 'js-utils/random' in '/home/webhay/JM/jitsimeet/react/features/base/participants'
 @ ./react/features/base/participants/reducer.js 5:0-50 195:28-43
 @ ./react/features/base/participants/index.js
 @ ./conference.js
 @ ./app.js
 @ multi (webpack)-dev-server/client?https://localhost:8091 ./app.js

ERROR in ./react/features/base/settings/reducer.js
Module not found: Error: Can't resolve 'js-utils/random' in '/home/webhay/JM/jitsimeet/react/features/base/settings'
 @ ./react/features/base/settings/reducer.js 5:0-50 131:15-30
 @ ./react/features/base/settings/index.js
 @ ./conference.js
 @ ./app.js
 @ multi (webpack)-dev-server/client?https://localhost:8091 ./app.js

ERROR in ./react/features/calendar-sync/actions.web.js
Module not found: Error: Can't resolve 'js-utils/random' in '/home/webhay/JM/jitsimeet/react/features/calendar-sync'
 @ ./react/features/calendar-sync/actions.web.js 1:0-63 219:24-52
 @ ./react/features/calendar-sync/index.js
 @ ./react/features/welcome/components/WelcomePage.web.js
 @ ./react/features/welcome/components/index.js
 @ ./react/features/welcome/index.js
 @ ./react/features/app/getRouteToRender.js
 @ ./react/features/app/middleware.js
 @ ./react/features/app/index.js
 @ ./conference.js
 @ ./app.js
 @ multi (webpack)-dev-server/client?https://localhost:8091 ./app.js

ERROR in ./react/features/overlay/components/AbstractPageReloadOverlay.js
Module not found: Error: Can't resolve 'js-utils/random' in '/home/webhay/JM/jitsimeet/react/features/overlay/components'
 @ ./react/features/overlay/components/AbstractPageReloadOverlay.js 1:0-44 70:32-41
 @ ./react/features/overlay/components/web/PageReloadOverlay.js
 @ ./react/features/overlay/components/web/index.js
 @ ./react/features/overlay/overlays.web.js
 @ ./react/features/overlay/functions.js
 @ ./react/features/overlay/index.js
 @ ./conference.js
 @ ./app.js
 @ multi (webpack)-dev-server/client?https://localhost:8091 ./app.js

ERROR in ./react/features/welcome/components/AbstractWelcomePage.js
Module not found: Error: Can't resolve 'js-utils/random' in '/home/webhay/JM/jitsimeet/react/features/welcome/components'
 @ ./react/features/welcome/components/AbstractWelcomePage.js 3:0-63 191:30-58
 @ ./react/features/welcome/components/WelcomePage.web.js
 @ ./react/features/welcome/components/index.js
 @ ./react/features/welcome/index.js
 @ ./react/features/app/getRouteToRender.js
 @ ./react/features/app/middleware.js
 @ ./react/features/app/index.js
 @ ./conference.js
 @ ./app.js
 @ multi (webpack)-dev-server/client?https://localhost:8091 ./app.js

Child
Hash: b3739ad5c0d6edb8df43
Time: 6989ms
Built at: 06/12/2019 9:35:22 AM
Asset Size Chunks Chunk Names

For the error Can't resolve 'js-utils/random', you’ll need to run “npm install” to get the latest updates for jitsi-meet dependencies.

For deploying your local libs, are you copying over into libs/build/ on your deployment or just libs/? It should be just libs/.

@Lenny8 this is what I have done now on a fresh copy from your git repo but what I get is this erros:

:heavy_multiplication_x: 「wdm」: Hash: 976f738c20f091ccfa205d4e2354129d29c23604
Version: webpack 4.26.1
Child
Hash: 976f738c20f091ccfa20
Time: 26584ms
Built at: 06/12/2019 11:16:34 PM
Asset Size Chunks Chunk Names
alwaysontop.js 1.87 MiB alwaysontop [emitted] alwaysontop
alwaysontop.js.map 2 MiB alwaysontop [emitted] alwaysontop
analytics-ga.js 383 KiB analytics-ga [emitted] analytics-ga
analytics-ga.js.map 448 KiB analytics-ga [emitted] analytics-ga
app.bundle.js 9.36 MiB app.bundle [emitted] app.bundle
app.bundle.js.map 9.41 MiB app.bundle [emitted] app.bundle
device_selection_popup_bundle.js 8.69 MiB device_selection_popup_bundle [emitted] device_selection_popup_bundle
device_selection_popup_bundle.js.map 8.52 MiB device_selection_popup_bundle [emitted] device_selection_popup_bundle
dial_in_info_bundle.js 4.3 MiB dial_in_info_bundle [emitted] dial_in_info_bundle
dial_in_info_bundle.js.map 4.23 MiB dial_in_info_bundle [emitted] dial_in_info_bundle
do_external_connect.js 383 KiB do_external_connect [emitted] do_external_connect
do_external_connect.js.map 446 KiB do_external_connect [emitted] do_external_connect
flacEncodeWorker.js 366 KiB flacEncodeWorker [emitted] flacEncodeWorker
flacEncodeWorker.js.map 426 KiB flacEncodeWorker [emitted] flacEncodeWorker
Entrypoint app.bundle = app.bundle.js app.bundle.js.map
Entrypoint device_selection_popup_bundle = device_selection_popup_bundle.js device_selection_popup_bundle.js.map
Entrypoint alwaysontop = alwaysontop.js alwaysontop.js.map
Entrypoint dial_in_info_bundle = dial_in_info_bundle.js dial_in_info_bundle.js.map
Entrypoint do_external_connect = do_external_connect.js do_external_connect.js.map
Entrypoint flacEncodeWorker = flacEncodeWorker.js flacEncodeWorker.js.map
Entrypoint analytics-ga = analytics-ga.js analytics-ga.js.map
[0] multi (webpack)-dev-server/client?https://localhost:8085 ./app.js 40 bytes {app.bundle} [built]
[1] multi (webpack)-dev-server/client?https://localhost:8085 ./react/features/settings/popup.js 40 bytes {device_selection_popup_bundle} [built]
[2] multi (webpack)-dev-server/client?https://localhost:8085 ./react/features/always-on-top/index.js 40 bytes {alwaysontop} [built]
[3] multi (webpack)-dev-server/client?https://localhost:8085 ./react/features/invite/components/dial-in-info-page 40 bytes {dial_in_info_bundle} [built]
[4] multi (webpack)-dev-server/client?https://localhost:8085 ./connection_optimization/do_external_connect.js 40 bytes {do_external_connect} [built]
[5] multi (webpack)-dev-server/client?https://localhost:8085 ./react/features/local-recording/recording/flac/flacEncodeWorker.js 40 bytes {flacEncodeWorker} [built]
[6] multi (webpack)-dev-server/client?https://localhost:8085 ./react/features/analytics/handlers/GoogleAnalyticsHandler.js 40 bytes {analytics-ga} [built]
[./app.js] 1.54 KiB {app.bundle} [built]
[./connection_optimization/do_external_connect.js] 2.32 KiB {do_external_connect} [built]
[./node_modules/webpack-dev-server/client/index.js?https://localhost:8085] (webpack)-dev-server/client?https://localhost:8085 7.78 KiB {app.bundle} {device_selection_popup_bundle} {alwaysontop} {dial_in_info_bundle} {do_external_connect} {flacEncodeWorker} {analytics-ga} [built]
[./react/features/always-on-top/index.js] 364 bytes {alwaysontop} [built]
[./react/features/analytics/handlers/GoogleAnalyticsHandler.js] 4.17 KiB {analytics-ga} [built]
[./react/features/invite/components/dial-in-info-page/index.js] 75 bytes {dial_in_info_bundle} [built]
[./react/features/local-recording/recording/flac/flacEncodeWorker.js] 9.1 KiB {flacEncodeWorker} [built]
[./react/features/settings/popup.js] 315 bytes {device_selection_popup_bundle} [built]
+ 1671 hidden modules

ERROR in ./react/features/app/getRouteToRender.js
Module not found: Error: Can't resolve 'js-utils/random' in '/home/webhay/JMOrigin/jitsi-meet/react/features/app'
 @ ./react/features/app/getRouteToRender.js 1:0-63 117:24-52
 @ ./react/features/app/middleware.js
 @ ./react/features/app/index.js
 @ ./conference.js
 @ ./app.js
 @ multi (webpack)-dev-server/client?https://localhost:8085 ./app.js

ERROR in ./react/features/base/participants/reducer.js
Module not found: Error: Can't resolve 'js-utils/random' in '/home/webhay/JMOrigin/jitsi-meet/react/features/base/participants'
 @ ./react/features/base/participants/reducer.js 5:0-50 195:28-43
 @ ./react/features/base/participants/index.js
 @ ./conference.js
 @ ./app.js
 @ multi (webpack)-dev-server/client?https://localhost:8085 ./app.js

ERROR in ./react/features/base/settings/reducer.js
Module not found: Error: Can't resolve 'js-utils/random' in '/home/webhay/JMOrigin/jitsi-meet/react/features/base/settings'
 @ ./react/features/base/settings/reducer.js 5:0-50 131:15-30
 @ ./react/features/base/settings/index.js
 @ ./conference.js
 @ ./app.js
 @ multi (webpack)-dev-server/client?https://localhost:8085 ./app.js

ERROR in ./react/features/calendar-sync/actions.web.js
Module not found: Error: Can't resolve 'js-utils/random' in '/home/webhay/JMOrigin/jitsi-meet/react/features/calendar-sync'
 @ ./react/features/calendar-sync/actions.web.js 1:0-63 219:24-52
 @ ./react/features/calendar-sync/index.js
 @ ./react/features/welcome/components/WelcomePage.web.js
 @ ./react/features/welcome/components/index.js
 @ ./react/features/welcome/index.js
 @ ./react/features/app/getRouteToRender.js
 @ ./react/features/app/middleware.js
 @ ./react/features/app/index.js
 @ ./conference.js
 @ ./app.js
 @ multi (webpack)-dev-server/client?https://localhost:8085 ./app.js

ERROR in ./react/features/overlay/components/AbstractPageReloadOverlay.js
Module not found: Error: Can't resolve 'js-utils/random' in '/home/webhay/JMOrigin/jitsi-meet/react/features/overlay/components'
 @ ./react/features/overlay/components/AbstractPageReloadOverlay.js 1:0-44 70:32-41
 @ ./react/features/overlay/components/web/PageReloadOverlay.js
 @ ./react/features/overlay/components/web/index.js
 @ ./react/features/overlay/overlays.web.js
 @ ./react/features/overlay/functions.js
 @ ./react/features/overlay/index.js
 @ ./conference.js
 @ ./app.js
 @ multi (webpack)-dev-server/client?https://localhost:8085 ./app.js

ERROR in ./react/features/welcome/components/AbstractWelcomePage.js
Module not found: Error: Can't resolve 'js-utils/random' in '/home/webhay/JMOrigin/jitsi-meet/react/features/welcome/components'
 @ ./react/features/welcome/components/AbstractWelcomePage.js 3:0-63 191:30-58
 @ ./react/features/welcome/components/WelcomePage.web.js
 @ ./react/features/welcome/components/index.js
 @ ./react/features/welcome/index.js
 @ ./react/features/app/getRouteToRender.js
 @ ./react/features/app/middleware.js
 @ ./react/features/app/index.js
 @ ./conference.js
 @ ./app.js
 @ multi (webpack)-dev-server/client?https://localhost:8085 ./app.js

Child
Hash: 5d4e2354129d29c23604
Time: 7102ms
Built at: 06/12/2019 11:16:15 PM
Asset Size Chunks Chunk Names
external_api.js 436 KiB external_api [emitted] external_api
external_api.js.map 515 KiB external_api [emitted] external_api
Entrypoint external_api = external_api.js external_api.js.map
[0] multi (webpack)-dev-server/client?https://localhost:8085 ./modules/API/external/index.js 40 bytes {external_api} [built]
[./modules/API/external/electronPopupsConfig.json] 285 bytes {external_api} [built]
[./modules/API/external/external_api.js] 27.1 KiB {external_api} [built]
[./modules/API/external/functions.js] 3.96 KiB {external_api} [built]
[./modules/API/external/index.js] 171 bytes {external_api} [built]
[./modules/transport/index.js] 1.33 KiB {external_api} [built]
[./node_modules/ansi-html/index.js] 4.16 KiB {external_api} [built]
[./node_modules/loglevel/lib/loglevel.js] 7.68 KiB {external_api} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {external_api} [built]
[./node_modules/url/url.js] 22.8 KiB {external_api} [built]
[./node_modules/webpack-dev-server/client/index.js?https://localhost:8085] (webpack)-dev-server/client?https://localhost:8085 7.78 KiB {external_api} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.58 KiB {external_api} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.05 KiB {external_api} [built]
[./node_modules/webpack/hot sync ^./log$] (webpack)/hot sync nonrecursive ^./log$ 170 bytes {external_api} [built]
[./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 77 bytes {external_api} [built]
+ 29 hidden modules
:information_source: 「wdm」: Failed to compile.

I had the same issue as in this link. The node version wan’t the correct one and the instruction in read me is not correct.

Thank you for your help