Edit Jellyfin-web

Hey there,
I wanna start to testing with the jellyfin-web client code so I forked the Jellyfin-web but I’ve not ever use webpack. After update the dependencies from package.json and use the command webpack --mode development in terminal I’ve a lot errors with components 'cause “module not found”
What Im doing wrong?

Error:

Summary

C:\test_web\jellyfin-web>webpack --mode development
Hash: 61278bcf02c1f2d4e41b
Version: webpack 4.37.0
Time: 1745ms
Built at: 2019-07-24 3:54:26 PM
Asset Size Chunks Chunk Names
0.main.js 16.9 KiB 0 [emitted]
1.main.js 17.1 KiB 1 [emitted]
10.main.js 57.5 KiB 10 [emitted]
11.main.js 54.3 KiB 11 [emitted]
12.main.js 25.1 KiB 12 [emitted]
13.main.js 107 KiB 13 [emitted]
14.main.js 5.24 KiB 14 [emitted]
15.main.js 6.24 KiB 15 [emitted]
16.main.js 11.5 KiB 16 [emitted]
17.main.js 3.01 KiB 17 [emitted]
18.main.js 1.96 KiB 18 [emitted]
19.main.js 24.1 KiB 19 [emitted]
2.main.js 8.87 KiB 2 [emitted]
20.main.js 746 bytes 20 [emitted]
21.main.js 2.47 KiB 21 [emitted]
22.main.js 1.25 KiB 22 [emitted]
23.main.js 11.7 KiB 23 [emitted]
24.main.js 11.2 KiB 24 [emitted]
25.main.js 5.18 KiB 25 [emitted]
26.main.js 4.67 KiB 26 [emitted]
27.main.js 5.62 KiB 27 [emitted]
28.main.js 6.5 KiB 28 [emitted]
29.main.js 722 bytes 29 [emitted]
3.main.js 1.71 KiB 3 [emitted]
4.main.js 32 KiB 4 [emitted]
5.main.js 12.6 KiB 5 [emitted]
6.main.js 13.9 KiB 6 [emitted]
7.main.js 5.51 KiB 7 [emitted]
8.main.js 11.2 KiB 8 [emitted]
9.main.js 24.8 KiB 9 [emitted]
main.js 743 KiB main [emitted] main
Entrypoint main = main.js
[./scripts sync recursive ^./Swiper/dist/js/swiper.min$] ./scripts sync ^./Swiper/dist/js/swiper.min$ 160 bytes {main} [built]
[./scripts sync recursive ^./actionsheet/actionsheet$] ./scripts sync ^./actionsheet/actionsheet$ 160 bytes {main} [built]
[./scripts sync recursive ^./alert$] ./scripts sync ^./alert$ 160 bytes {main} [built]
[./scripts sync recursive ^./alphanumericshortcuts/alphanumericshortcuts$] ./scripts sync ^./alphanumericshortcuts/alphanumericshortcuts$ 160 bytes {main} [built]
[./scripts sync recursive ^./alphapicker/alphapicker$] ./scripts sync ^./alphapicker/alphapicker$ 160 bytes {main} [built]
[./scripts sync recursive ^./appRouter$] ./scripts sync ^./appRouter$ 160 bytes {main} [built]
[./scripts sync recursive ^./appSettings$] ./scripts sync ^./appSettings$ 160 bytes {main} [built]
[./scripts sync recursive ^./appStorage$] ./scripts sync ^./appStorage$ 160 bytes {main} [built]
[./scripts sync recursive ^./appfooter/appfooter$] ./scripts sync ^./appfooter/appfooter$ 160 bytes {main} [built]
[./scripts sync recursive ^./backdrop/backdrop$] ./scripts sync ^./backdrop/backdrop$ 160 bytes {main} [built]
[./scripts sync recursive ^./cardbuilder/cardBuilder$] ./scripts sync ^./cardbuilder/cardBuilder$ 160 bytes {main} [built]
[./scripts sync recursive ^./cardbuilder/chaptercardbuilder$] ./scripts sync ^./cardbuilder/chaptercardbuilder$ 160 bytes {main} [built]
[./scripts sync recursive ^./cardbuilder/peoplecardbuilder$] ./scripts sync ^./cardbuilder/peoplecardbuilder$ 160 bytes {main} [built]
[./scripts sync recursive ^./chromecast/chromecasthelpers$] ./scripts sync ^./chromecast/chromecasthelpers$ 160 bytes {main} [built]
[./scripts/site.js] 50.9 KiB {main} [built]
+ 208 hidden modules

WARNING in ./components/skinManager.js 75:28-35
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./components/appRouter.js
@ ./scripts/site.js

WARNING in ./components/pluginManager.js 35:12-88:14
Critical dependency: the request of a dependency is an expression
@ ./scripts/site.js

WARNING in ./components/inputManager.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:

  • C:\test_web\jellyfin-web\src\components\inputManager.js
    Used by 4 module(s), i. e.
    C:\test_web\jellyfin-web\src\scripts\site.js
  • C:\test_web\jellyfin-web\src\components\inputmanager.js
    Used by 1 module(s), i. e.
    C:\test_web\jellyfin-web\src\components\keyboardnavigation.js
    @ ./components/inputManager.js
    @ ./scripts/site.js

ERROR in ./components/viewContainer.js 27:12-34
Cannot statically analyse ‘require(…, …)’ in line 27
@ ./components/viewManager/viewManager.js 1:0-183:2
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/serverRestartDialog.js
Module not found: Error: Can’t resolve ‘./…/dialog/dialog.template.html’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/serverRestartDialog.js 151:12-153:14
@ ./scripts/site.js

ERROR in ./components/scroller.js
Module not found: Error: Can’t resolve ‘ResizeObserver’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/scroller.js 1:0-934:2
@ ./components/emby-tabs/emby-tabs.js
@ ./components/mainTabsManager.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘bower_components/apiclient/apiclient’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 417:8-92

ERROR in ./bower_components/apiclient/apiclient.js
Module not found: Error: Can’t resolve ‘bower_components/apiclient/apiclientcore’ in ‘C:\test_web\jellyfin-web\src\bower_components\apiclient’
@ ./bower_components/apiclient/apiclient.js 2:0-236:2
@ ./scripts/site.js

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘components/directorybrowser/directorybrowser’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 730:8-107

ERROR in ./components/loading/loading.js
Module not found: Error: Can’t resolve ‘components/loading/loadingLegacy’ in ‘C:\test_web\jellyfin-web\src\components\loading’
@ ./components/loading/loading.js 1:0-82:2
@ ./scripts/site.js

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘components/navdrawer/navdrawer’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 864:8-86

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘components/notifications/notifications’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 621:28-79

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘components/nowplayingbar/nowplayingbar’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 603:24-75

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘components/playback/playbackorientation’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 617:24-76

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘components/playback/remotecontrolautoplay’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 607:24-101

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘components/playback/volumeosd’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 611:24-66

ERROR in ./components/serverNotifications/serverNotifications.js
Module not found: Error: Can’t resolve ‘components/serverNotifications/gamepadtokey’ in ‘C:\test_web\jellyfin-web\src\components\serverNotifications’
@ ./components/serverNotifications/serverNotifications.js 251:8-64
@ ./scripts/site.js

ERROR in ./components/serverNotifications/serverNotifications.js
Module not found: Error: Can’t resolve ‘components/serverNotifications/mouseManager’ in ‘C:\test_web\jellyfin-web\src\components\serverNotifications’
@ ./components/serverNotifications/serverNotifications.js 254:4-60
@ ./scripts/site.js

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘components/thememediaplayer’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 600:20-85

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘components/tunerpicker’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 726:8-80

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘components/viewContainer’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 866:8-84

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘connectionManagerFactory’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 274:15-311:10

ERROR in ./components/appRouter.js
Module not found: Error: Can’t resolve ‘controllers’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/appRouter.js 104:12-72
@ ./scripts/site.js

ERROR in ./components/viewContainer.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/viewContainer.js 1:0-262:2
@ ./components/viewManager/viewManager.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/actionsheet/actionsheet.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\actionsheet’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/actionsheet/actionsheet.js 1:0-359:2
@ ./scripts/libraryBrowser.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/backdrop/backdrop.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\backdrop’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/backdrop/backdrop.js 1:0-358:2
@ ./components/appRouter.js
@ ./scripts/site.js

ERROR in ./components/dialogHelper/dialogHelper.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\dialogHelper’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/dialogHelper/dialogHelper.js 1:0-486:2
@ ./components/serverRestartDialog.js
@ ./scripts/site.js

ERROR in ./components/emby-button/paper-icon-button-light.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\emby-button’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/emby-button/paper-icon-button-light.js 1:0-19:2
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/emby-button/emby-button.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\emby-button’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/emby-button/emby-button.js 1:0-80:2
@ ./scripts/site.js

ERROR in ./components/emby-input/emby-input.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\emby-input’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/emby-input/emby-input.js 1:0-125:2
@ ./components/serverRestartDialog.js
@ ./scripts/site.js

ERROR in ./components/emby-radio/emby-radio.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\emby-radio’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/emby-radio/emby-radio.js 1:0-48:2
@ ./scripts/libraryBrowser.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/emby-tabs/emby-tabs.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\emby-tabs’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/emby-tabs/emby-tabs.js 1:0-370:2
@ ./components/mainTabsManager.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/headroom/headroom.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\headroom’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/headroom/headroom.js 7:0-346:2
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/images/imageLoader.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\images’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/images/imageLoader.js 1:0-126:2
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/loading/loading.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\loading’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/loading/loading.js 1:0-82:2
@ ./scripts/site.js

ERROR in ./components/navdrawer/navdrawer.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\navdrawer’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/navdrawer/navdrawer.js 1:0-198:2
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/playback/brightnessOsd.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\playback’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/playback/brightnessOsd.js 1:0-165:2
@ ./components/playback/playbackManager.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/toast/toast.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\components\toast’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./components/toast/toast.js 1:0-42:2
@ ./scripts/site.js

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\scripts’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./scripts/site.js 828:8-127

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\scripts’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./scripts/site.js 465:8-74

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\scripts’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./scripts/site.js 1157:4-29

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\scripts’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./scripts/site.js 526:8-530:10

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\scripts’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./scripts/site.js 860:8-74

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\scripts’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./scripts/site.js 829:8-76

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\scripts’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./scripts/site.js 859:8-89

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\scripts’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./scripts/site.js 589:20-48

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\scripts’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./scripts/site.js 861:8-85

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘css’ in ‘C:\test_web\jellyfin-web\src\scripts’
BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
You need to specify ‘css-loader’ instead of ‘css’,
see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed
@ ./scripts/site.js 466:8-84

ERROR in ./components/playback/playerSelectionMenu.js
Module not found: Error: Can’t resolve ‘emby-checkbox’ in ‘C:\test_web\jellyfin-web\src\components\playback’
@ ./components/playback/playerSelectionMenu.js 151:8-153:10
@ ./scripts/site.js

ERROR in ./components/apphost.js
Module not found: Error: Can’t resolve ‘environments/windows-uwp/mediacaps’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/apphost.js 25:12-31:14
@ ./scripts/site.js

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘fetch’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 471:26-44

ERROR in ./components/serverRestartDialog.js
Module not found: Error: Can’t resolve ‘flexStyles’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/serverRestartDialog.js 1:0-166:2
@ ./scripts/site.js

ERROR in ./components/dialog/dialog.js
Module not found: Error: Can’t resolve ‘flexStyles’ in ‘C:\test_web\jellyfin-web\src\components\dialog’
@ ./components/dialog/dialog.js 1:0-133:2
@ ./components/alert.js
@ ./scripts/site.js

ERROR in ./scripts/libraryMenu.js
Module not found: Error: Can’t resolve ‘flexStyles’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/libraryMenu.js 1:0-961:2
@ ./scripts/site.js

ERROR in ./components/viewContainer.js
Module not found: Error: Can’t resolve ‘fnchecked’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/viewContainer.js 55:16-38
@ ./components/viewManager/viewManager.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/serverRestartDialog.js
Module not found: Error: Can’t resolve ‘formDialogStyle’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/serverRestartDialog.js 1:0-166:2
@ ./scripts/site.js

ERROR in ./components/dialog/dialog.js
Module not found: Error: Can’t resolve ‘formDialogStyle’ in ‘C:\test_web\jellyfin-web\src\components\dialog’
@ ./components/dialog/dialog.js 1:0-133:2
@ ./components/alert.js
@ ./scripts/site.js

ERROR in ./components/images/imageLoader.js
Module not found: Error: Can’t resolve ‘lazyLoader’ in ‘C:\test_web\jellyfin-web\src\components\images’
@ ./components/images/imageLoader.js 1:0-126:2
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘legacy/buttonenabled’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 467:8-80

ERROR in ./components/viewContainer.js
Module not found: Error: Can’t resolve ‘legacy/dashboard’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/viewContainer.js 47:16-45
@ ./components/viewManager/viewManager.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘legacy/fnchecked’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 877:8-72

ERROR in ./components/viewContainer.js
Module not found: Error: Can’t resolve ‘legacy/selectmenu’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/viewContainer.js 51:16-46
@ ./components/viewManager/viewManager.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/actionsheet/actionsheet.js
Module not found: Error: Can’t resolve ‘listViewStyle’ in ‘C:\test_web\jellyfin-web\src\components\actionsheet’
@ ./components/actionsheet/actionsheet.js 1:0-359:2
@ ./scripts/libraryBrowser.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/serverRestartDialog.js
Module not found: Error: Can’t resolve ‘material-icons’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/serverRestartDialog.js 1:0-166:2
@ ./scripts/site.js

ERROR in ./components/actionsheet/actionsheet.js
Module not found: Error: Can’t resolve ‘material-icons’ in ‘C:\test_web\jellyfin-web\src\components\actionsheet’
@ ./components/actionsheet/actionsheet.js 1:0-359:2
@ ./scripts/libraryBrowser.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/dialog/dialog.js
Module not found: Error: Can’t resolve ‘material-icons’ in ‘C:\test_web\jellyfin-web\src\components\dialog’
@ ./components/dialog/dialog.js 1:0-133:2
@ ./components/alert.js
@ ./scripts/site.js

ERROR in ./components/playback/brightnessOsd.js
Module not found: Error: Can’t resolve ‘material-icons’ in ‘C:\test_web\jellyfin-web\src\components\playback’
@ ./components/playback/brightnessOsd.js 1:0-165:2
@ ./components/playback/playbackManager.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./scripts/libraryMenu.js
Module not found: Error: Can’t resolve ‘material-icons’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/libraryMenu.js 1:0-961:2
@ ./scripts/site.js

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘objectassign’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 474:26-51

ERROR in ./components/appRouter.js
Module not found: Error: Can’t resolve ‘page’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/appRouter.js 1:0-757:2
@ ./scripts/site.js

ERROR in ./components/emby-button/paper-icon-button-light.js
Module not found: Error: Can’t resolve ‘registerElement’ in ‘C:\test_web\jellyfin-web\src\components\emby-button’
@ ./components/emby-button/paper-icon-button-light.js 1:0-19:2
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/emby-button/emby-button.js
Module not found: Error: Can’t resolve ‘registerElement’ in ‘C:\test_web\jellyfin-web\src\components\emby-button’
@ ./components/emby-button/emby-button.js 1:0-80:2
@ ./scripts/site.js

ERROR in ./components/emby-input/emby-input.js
Module not found: Error: Can’t resolve ‘registerElement’ in ‘C:\test_web\jellyfin-web\src\components\emby-input’
@ ./components/emby-input/emby-input.js 1:0-125:2
@ ./components/serverRestartDialog.js
@ ./scripts/site.js

ERROR in ./components/emby-radio/emby-radio.js
Module not found: Error: Can’t resolve ‘registerElement’ in ‘C:\test_web\jellyfin-web\src\components\emby-radio’
@ ./components/emby-radio/emby-radio.js 1:0-48:2
@ ./scripts/libraryBrowser.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/emby-tabs/emby-tabs.js
Module not found: Error: Can’t resolve ‘registerElement’ in ‘C:\test_web\jellyfin-web\src\components\emby-tabs’
@ ./components/emby-tabs/emby-tabs.js 1:0-370:2
@ ./components/mainTabsManager.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘scripts/autobackdrops’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 600:20-85

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘scripts/librarymenu’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 737:8-77

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘scripts/routes’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 594:16-634:18

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘scripts/themeloader’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 594:16-634:18

ERROR in ./components/scroller.js
Module not found: Error: Can’t resolve ‘scrollStyles’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/scroller.js 1:0-934:2
@ ./components/emby-tabs/emby-tabs.js
@ ./components/mainTabsManager.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/scrollHelper.js
Module not found: Error: Can’t resolve ‘scrollStyles’ in ‘C:\test_web\jellyfin-web\src\components’
@ ./components/scrollHelper.js 1:0-137:2
@ ./components/serverRestartDialog.js
@ ./scripts/site.js

ERROR in ./components/actionsheet/actionsheet.js
Module not found: Error: Can’t resolve ‘scrollStyles’ in ‘C:\test_web\jellyfin-web\src\components\actionsheet’
@ ./components/actionsheet/actionsheet.js 1:0-359:2
@ ./scripts/libraryBrowser.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/dialogHelper/dialogHelper.js
Module not found: Error: Can’t resolve ‘scrollStyles’ in ‘C:\test_web\jellyfin-web\src\components\dialogHelper’
@ ./components/dialogHelper/dialogHelper.js 1:0-486:2
@ ./components/serverRestartDialog.js
@ ./scripts/site.js

ERROR in ./components/emby-tabs/emby-tabs.js
Module not found: Error: Can’t resolve ‘scrollStyles’ in ‘C:\test_web\jellyfin-web\src\components\emby-tabs’
@ ./components/emby-tabs/emby-tabs.js 1:0-370:2
@ ./components/mainTabsManager.js
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./components/navdrawer/navdrawer.js
Module not found: Error: Can’t resolve ‘scrollStyles’ in ‘C:\test_web\jellyfin-web\src\components\navdrawer’
@ ./components/navdrawer/navdrawer.js 1:0-198:2
@ ./scripts/libraryMenu.js
@ ./scripts/site.js

ERROR in ./scripts/libraryMenu.js
Module not found: Error: Can’t resolve ‘scrollStyles’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/libraryMenu.js 1:0-961:2
@ ./scripts/site.js

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘systemFontsCss’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 523:12-39

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘systemFontsSizedCss’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 520:12-44

ERROR in ./components/dialog/dialog.js
Module not found: Error: Can’t resolve ‘text’ in ‘C:\test_web\jellyfin-web\src\components\dialog’
@ ./components/dialog/dialog.js 128:12-130:14
@ ./components/alert.js
@ ./scripts/site.js

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘thirdparty/jstree/jstree’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 828:8-127

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘thirdparty/native-promise-only/lib/npo.src’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 671:12-73

ERROR in ./scripts/site.js
Module not found: Error: Can’t resolve ‘thirdparty/resize-observer-polyfill/ResizeObserver’ in ‘C:\test_web\jellyfin-web\src\scripts’
@ ./scripts/site.js 398:12-115

There’s something special to do before it works. We have it in the chat. Let me copy and paste it.

Okay, first, add this line to index.html:
<script src="scripts/apploader.js" defer></script>

Then to bring back the “connect to server” option, you need to apply this patch:

diff --git a/src/components/apphost.js b/src/components/apphost.js
index 775fc9c7d..a4f9a7428 100644
--- a/src/components/apphost.js
+++ b/src/components/apphost.js
@@ -275,7 +275,7 @@ define(["appSettings", "browser", "events", "htmlMediaHelper"], function (appSet
         features.push("displaylanguage");
         features.push("otherapppromotions");
         features.push("targetblank"); // allows users to connect to more than one server
-        //features.push("multiserver");
+        features.push("multiserver");
 
         if (!browser.orsay && !browser.tizen && !browser.msie && (browser.firefox || browser.ps4 || browser.edge || cueSupported())) {
             features.push("subtitleappearancesettings");