Skip to content

Instantly share code, notes, and snippets.

@baymac
Created November 9, 2019 16:59
Show Gist options
  • Save baymac/63afc8ad8827a84527e2874ba0a3cf41 to your computer and use it in GitHub Desktop.
Save baymac/63afc8ad8827a84527e2874ba0a3cf41 to your computer and use it in GitHub Desktop.
The log contains warnings and file not found error
yarn run v1.19.1
$ yarn build && electron-builder build --publish never
$ concurrently "yarn build-main" "yarn build-renderer"
$ cross-env NODE_ENV=production node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.main.prod.js --colors
$ cross-env NODE_ENV=production node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.prod.js --colors
[1] Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`
[0] Hash: b0ace21e23866de7d874
[0] Version: webpack 4.16.3
[0] Time: 6681ms
[0] Built at: 11/09/2019 10:16:30 PM
[0] Asset Size Chunks Chunk Names
[0] ./app/main.prod.js 227 KiB 0 [emitted] main
[0] ./app/main.prod.js.map 393 KiB 0 [emitted] main
[0] Entrypoint main = ./app/main.prod.js ./app/main.prod.js.map
[0] [./app/main.dev.js] 3.5 KiB {0} [built]
[0] [./app/menu.js] 5.99 KiB {0} [built]
[0] [./app/node_modules/source-map/lib/source-map sync recursive] ./app/node_modules/source-map/lib/source-map sync 160 bytes {0} [built]
[0] [./node_modules/electron-debug sync recursive] ./node_modules/electron-debug sync 160 bytes {0} [built]
[0] [./node_modules/webpack/buildin/amd-define.js] (webpack)/buildin/amd-define.js 85 bytes {0} [built]
[0] [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
[0] [assert] external "assert" 42 bytes {0} [built]
[0] [child_process] external "child_process" 42 bytes {0} [built]
[0] [electron] external "electron" 42 bytes {0} [built]
[0] [fs] external "fs" 42 bytes {0} [built]
[0] [https] external "https" 42 bytes {0} [built]
[0] [module] external "module" 42 bytes {0} [built]
[0] [path] external "path" 42 bytes {0} [built]
[0] [tty] external "tty" 42 bytes {0} [built]
[0] [util] external "util" 42 bytes {0} [built]
[0] + 53 hidden modules
[0]
[0] WARNING in ./app/node_modules/source-map/lib/source-map/source-map-generator.js 8:45-52
[0] Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
[0] @ ./app/node_modules/source-map/lib/source-map.js
[0] @ ./app/node_modules/source-map-support/source-map-support.js
[0] @ ./app/main.dev.js
[0]
[0] WARNING in ./app/node_modules/source-map/lib/source-map/source-map-consumer.js 8:45-52
[0] Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
[0] @ ./app/node_modules/source-map/lib/source-map.js
[0] @ ./app/node_modules/source-map-support/source-map-support.js
[0] @ ./app/main.dev.js
[0]
[0] WARNING in ./app/node_modules/source-map/lib/source-map/source-node.js 8:45-52
[0] Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
[0] @ ./app/node_modules/source-map/lib/source-map.js
[0] @ ./app/node_modules/source-map-support/source-map-support.js
[0] @ ./app/main.dev.js
[0]
[0] WARNING in ./node_modules/electron-debug/index.js 101:45-58
[0] Critical dependency: the request of a dependency is an expression
[0] @ ./app/main.dev.js
[0]
[0] WARNING in ./node_modules/electron-debug/index.js 102:61-74
[0] Critical dependency: the request of a dependency is an expression
[0] @ ./app/main.dev.js
[0] yarn build-main exited with code 0
[1] Hash: cf67ca431f0a3437b8d2
[1] Version: webpack 4.16.3
[1] Time: 15484ms
[1] Built at: 11/09/2019 10:16:39 PM
[1] Asset Size Chunks Chunk Names
[1] 8d9ab84bfe87a3f77112a6698cf639fb.woff2 14.5 KiB [emitted]
[1] e8019d507e8cb51d169ab4f94a0cda12.eot 114 KiB [emitted]
[1] fdf44bc43e8fa2358bbb7d9165d78455.ttf 114 KiB [emitted]
[1] da408238128b876cbda6424391f1566f.woff 73.2 KiB [emitted]
[1] 6814d0e8136d34e313623eb7129d538e.woff2 62.6 KiB [emitted]
[1] e6c93cb47e716b579264a5fdfbf7e84d.eot 39.7 KiB [emitted]
[1] ba2a91dc95e6cfdc4b2a186a7ba83e29.svg 138 KiB [emitted]
[1] 8d220c793e2612bd131ed8522c54669f.ttf 39.5 KiB [emitted]
[1] dad90637f797356bbc70d2664832e0b6.woff 17.7 KiB [emitted]
[1] 83e6c29fb363b2f0ea6cc18fefff729c.svg 615 KiB [emitted]
[1] ea363ed422723673917901680be9b37c.eot 164 KiB [emitted]
[1] de1d242d8acb26ec43c0d071fe78e72d.svg 610 KiB [emitted]
[1] 132e9759d93e4eefd7cdde0d7a322991.ttf 164 KiB [emitted]
[1] 2d0415fa29ea596b7a02c78eddeede20.woff 78.6 KiB [emitted]
[1] b75b4bfe0d58faeced5006c785eaae23.woff2 61 KiB [emitted]
[1] style.css 46.9 KiB 0 [emitted] main
[1] renderer.prod.js 395 KiB 0 [emitted] main
[1] style.css.map 93.5 KiB [emitted]
[1] renderer.prod.js.map 1.24 MiB 0 [emitted] main
[1] Entrypoint main = style.css renderer.prod.js renderer.prod.js.map
[1] [./app/Routes.js] 1.95 KiB {0} [built]
[1] [./app/app.global.css] 39 bytes {0} [built]
[1] [./app/containers/HomePage.js] 1.42 KiB {0} [built]
[1] [./app/containers/Root.js] 2.06 KiB {0} [built]
[1] [./app/containers/UpdatePage.js] 1.23 KiB {0} [built]
[1] [./app/images/cypherock.png] 3.18 KiB {0} [built]
[1] [./app/index.js] 1.93 KiB {0} [built]
[1] [./app/reducers/index.js] 570 bytes {0} [built]
[1] [./app/store/configureStore.js] 251 bytes {0} [built]
[1] [./app/store/configureStore.prod.js] 894 bytes {0} [built]
[1] [./node_modules/@material-ui/core/esm/Grid/index.js] ./node_modules/@material-ui/core/esm/Grid/index.js + 1 modules 13.4 KiB {0} [built]
[1] | 2 modules
[1] [./node_modules/history/es/index.js] ./node_modules/history/es/index.js + 9 modules 34.8 KiB {0} [built]
[1] | 10 modules
[1] [./node_modules/react-redux/es/index.js] ./node_modules/react-redux/es/index.js + 24 modules 43.2 KiB {0} [built]
[1] | 25 modules
[1] [./node_modules/react-router-dom/es/index.js] ./node_modules/react-router-dom/es/index.js + 14 modules 14.1 KiB {0} [built]
[1] | 15 modules
[1] [./node_modules/react-router-redux/es/index.js] ./node_modules/react-router-redux/es/index.js + 5 modules 6.51 KiB {0} [built]
[1] | 6 modules
[1] + 199 hidden modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--5-1!app/app.global.css:
[1] Asset Size Chunks Chunk Names
[1] 8d220c793e2612bd131ed8522c54669f.ttf 39.5 KiB [emitted]
[1] e8019d507e8cb51d169ab4f94a0cda12.eot 114 KiB [emitted]
[1] fdf44bc43e8fa2358bbb7d9165d78455.ttf 114 KiB [emitted]
[1] da408238128b876cbda6424391f1566f.woff 73.2 KiB [emitted]
[1] 6814d0e8136d34e313623eb7129d538e.woff2 62.6 KiB [emitted]
[1] e6c93cb47e716b579264a5fdfbf7e84d.eot 39.7 KiB [emitted]
[1] ba2a91dc95e6cfdc4b2a186a7ba83e29.svg 138 KiB [emitted]
[1] 83e6c29fb363b2f0ea6cc18fefff729c.svg 615 KiB [emitted]
[1] dad90637f797356bbc70d2664832e0b6.woff 17.7 KiB [emitted]
[1] 8d9ab84bfe87a3f77112a6698cf639fb.woff2 14.5 KiB [emitted]
[1] ea363ed422723673917901680be9b37c.eot 164 KiB [emitted]
[1] de1d242d8acb26ec43c0d071fe78e72d.svg 610 KiB [emitted]
[1] 132e9759d93e4eefd7cdde0d7a322991.ttf 164 KiB [emitted]
[1] 2d0415fa29ea596b7a02c78eddeede20.woff 78.6 KiB [emitted]
[1] b75b4bfe0d58faeced5006c785eaae23.woff2 61 KiB [emitted]
[1] Entrypoint mini-css-extract-plugin = *
[1] [./node_modules/css-loader/index.js?!./app/app.global.css] ./node_modules/css-loader??ref--5-1!./app/app.global.css 2.28 KiB {0} [built]
[1] + 18 hidden modules
[1] yarn build-renderer exited with code 0
• electron-builder version=20.26.0
• loaded configuration file=package.json ("build" field)
• writing effective config file=release/builder-effective-config.yaml
• rebuilding native production dependencies platform=linux arch=x64
• rebuilding native dependency name=@serialport/bindings
• packaging platform=linux arch=x64 electron=2.0.6 appOutDir=release/linux-unpacked
• file source doesn't exist from=/home/parichay/Cypherock/cypherock-live-desktop/node_modules/pc-nrfjprog-js/nrfjprog
• building target=snap arch=x64 file=release/cypherock-live_0.0.1_amd64.snap
• building target=AppImage arch=x64 file=release/cypherock-live-0.0.1-x86_64.AppImage
• building target=deb arch=x64 file=release/cypherock-live_0.0.1_amd64.deb
• building target=rpm arch=x64 file=release/cypherock-live-0.0.1.x86_64.rpm
Done in 351.93s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment