Closed freeeflyer closed 5 years ago
Hello
I still get a warning at build:
WARNING in ./node_modules/write-file-atomic/index.js Module not found: Error: Can't resolve 'worker_threads' in 'C:\Users\xx\Documents\Projets\jitsi\jitsi-meet-electron\node_modules\write-file-atomic'
Here is the complete build output:
C:\Users\xx\Documents\Projets\jitsi\jitsi-meet-electron>npm run dist > jitsi-meet-electron@1.1.1 dist C:\Users\xx\Documents\Projets\jitsi\jitsi-meet-electron > npm run build && electron-builder > jitsi-meet-electron@1.1.1 build C:\Users\xx\Documents\Projets\jitsi\jitsi-meet-electron > webpack --config ./webpack.main.js --mode production && webpack --config ./webpack.renderer.js --mode production Hash: 644e4637abc05d26f122 Version: webpack 4.27.1 Time: 1748ms Built at: 2019-10-18 10:51:39 AM Asset Size Chunks Chunk Names main.js 509 KiB 0 [emitted] main Entrypoint main = main.js [0] external "path" 42 bytes {0} [built] [8] external "fs" 42 bytes {0} [built] [9] external "electron" 42 bytes {0} [built] [10] external "url" 42 bytes {0} [built] [18] external "os" 42 bytes {0} [built] [21] external "stream" 42 bytes {0} [built] [25] external "crypto" 42 bytes {0} [built] [29] external "util" 42 bytes {0} [built] [34] external "child_process" 42 bytes {0} [built] [43] external "events" 42 bytes {0} [built] [73] external "http" 42 bytes {0} [built] [75] ./main.js 5.78 KiB {0} [built] [202] external "require('jitsi-meet-electron-utils')" 42 bytes {0} [built] [213] external "require('electron-debug')" 42 bytes {0} [built] [214] external "require('electron-reload')" 42 bytes {0} [built] + 200 hidden modules Hash: 6e837a4ef983ecd743e7 Version: webpack 4.27.1 Time: 12630ms Built at: 2019-10-18 10:51:55 AM Asset Size Chunks Chunk Names 6d44496ff4d9cadbdad46a2921a754ff.png 5.8 KiB [emitted] app.js 874 KiB 0 [emitted] app index.html 238 bytes [emitted] Entrypoint app = app.js [1] ./node_modules/@atlaskit/theme/dist/esm/index.js + 7 modules 20.4 KiB {0} [built] | 8 modules [35] external "path" 42 bytes {0} [built] [39] external "require('jitsi-meet-electron-utils')" 42 bytes {0} [built] [71] external "fs" 42 bytes {0} [built] [90] external "assert" 42 bytes {0} [built] [91] external "electron" 42 bytes {0} [built] [92] external "stream" 42 bytes {0} [built] [93] external "os" 42 bytes {0} [built] [101] (webpack)/buildin/harmony-module.js 573 bytes {0} [built] [121] (webpack)/buildin/module.js 497 bytes {0} [built] [246] external "events" 42 bytes {0} [built] [257] ./app/images/onboarding.png 82 bytes {0} [built] [356] ./node_modules/moment/locale sync ^\.\/.*$ 2.93 KiB {0} [optional] [built] [359] external "crypto" 42 bytes {0} [built] [382] ./app/index.js + 357 modules 842 KiB {0} [built] | ./app/index.js 1.04 KiB [built] | ./app/features/app/index.js 29 bytes [built] | ./app/features/redux/index.js 95 bytes [built] | ./app/features/redux/store.js 482 bytes [built] | ./app/features/redux/persistor.js 110 bytes [built] | ./app/features/redux/middleware.js 385 bytes [built] | ./app/features/redux/reducers.js 512 bytes [built] | ./app/features/config/index.js 671 bytes [built] | ./app/features/navbar/index.js 161 bytes [built] | ./app/features/onboarding/index.js 218 bytes [built] | ./app/features/settings/index.js 215 bytes [built] | ./app/features/conference/index.js 113 bytes [built] | ./app/features/router/index.js 149 bytes [built] | ./app/features/recent-list/index.js 103 bytes [built] | ./app/features/welcome/index.js 55 bytes [built] | + 343 hidden modules + 501 hidden modules WARNING in ./node_modules/write-file-atomic/index.js Module not found: Error: Can't resolve 'worker_threads' in 'C:\Users\xx\Documents\Projets\jitsi\jitsi-meet-electron\node_modules\write-file-atomic' @ ./node_modules/write-file-atomic/index.js @ ./node_modules/conf/index.js @ ./node_modules/electron-store/index.js @ ./node_modules/redux-persist-electron-storage/lib/index.js @ ./app/features/redux/store.js @ ./app/features/redux/index.js @ ./app/index.js Child html-webpack-plugin for "index.html": 1 asset Entrypoint undefined = index.html [0] ./node_modules/html-webpack-plugin/lib/loader.js!./app/index.html 405 bytes {0} [built] [2] (webpack)/buildin/module.js 497 bytes {0} [built] + 1 hidden module • electron-builder version=20.38.3 • loaded configuration file=package.json ("build" field) • writing effective config file=dist\builder-effective-config.yaml • rebuilding native production dependencies platform=win32 arch=ia32 • packaging platform=win32 arch=ia32 electron=6.0.11 appOutDir=dist\win-ia32-unpacked • rebuilding native production dependencies platform=win32 arch=x64 • packaging platform=win32 arch=x64 electron=6.0.11 appOutDir=dist\win-unpacked • building target=nsis file=dist\jitsi-meet.exe archs=ia32, x64 oneClick=true perMachine=false • building block map blockMapFile=dist\jitsi-meet.exe.blockmap
AFAICT that warning is harmless and not caused by us but by a dependency. You can ignore it.
Hello
I still get a warning at build:
Here is the complete build output: