Skip to content

Instantly share code, notes, and snippets.

@JLaferri
Created January 11, 2019 09:31
Show Gist options
  • Save JLaferri/ffd87791ccb08c8498a923cbf6974096 to your computer and use it in GitHub Desktop.
Save JLaferri/ffd87791ccb08c8498a923cbf6974096 to your computer and use it in GitHub Desktop.
Jas@CORSAIRONE MINGW64 ~/Documents/GitHub/slippi-desktop-app (upgrade/latest-boilerplate)
$ yarn package
yarn run v1.13.0
$ node ./internals/scripts/CopyDolphin.js && yarn build && electron-builder build --publish never
Copying the windows build of dolphin to package
Finished copying dolphin build!
$ concurrently "yarn build-main" "yarn build-renderer"
$ cross-env NODE_ENV=production webpack --config ./configs/webpack.config.main.prod.babel.js --colors
$ cross-env NODE_ENV=production webpack --config ./configs/webpack.config.renderer.prod.babel.js --colors
[0] Hash: 0af9f117073b14bf8481
[0] Version: webpack 4.28.4
[0] Time: 1965ms
[0] Built at: 01/11/2019 4:30:01 AM
[0] Asset Size Chunks Chunk Names
[0] ./app/main.prod.js 76.5 KiB 0 [emitted] main
[0] ./app/main.prod.js.map 278 KiB 0 [emitted] main
[0] Entrypoint main = ./app/main.prod.js ./app/main.prod.js.map
[0] [./app/main.dev.js] ./app/main.dev.js + 1 modules 8.74 KiB {0} [built]
[0] | ./app/main.dev.js 2.56 KiB [built]
[0] | ./app/menu.js 6.16 KiB [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] [electron-debug] external "electron-debug" 42 bytes {0} [built]
[0] [electron-log] external "electron-log" 42 bytes {0} [built]
[0] [electron-updater] external "electron-updater" 42 bytes {0} [built]
[0] [events] external "events" 42 bytes {0} [built]
[0] [fs] external "fs" 42 bytes {0} [built]
[0] [https] external "https" 42 bytes {0} [built]
[0] [path] external "path" 42 bytes {0} [built]
[0] [source-map-support] external "source-map-support" 42 bytes {0} [built]
[0] [util] external "util" 42 bytes {0} [built]
[0] + 69 hidden modules
[0] yarn build-main exited with code 0
[1] Hash: e2295ebf461c6ac6b744
[1] Version: webpack 4.28.4
[1] Time: 8927ms
[1] Built at: 01/11/2019 4:30:08 AM
[1] 24 assets
[1] Entrypoint main = style.css renderer.prod.js renderer.prod.js.map
[1] [./app/app.global.scss] 39 bytes {0} [built]
[1] [./app/index.js] ./app/index.js + 51 modules 127 KiB {0} [built]
[1] | ./app/index.js 1.63 KiB [built]
[1] | ./app/containers/Root.js 1.41 KiB [built]
[1] | ./app/store/configureStore.js 356 bytes [built]
[1] | ./app/routes.js 1.69 KiB [built]
[1] | ./app/store/configureStore.dev.js 1.89 KiB [built]
[1] | ./app/store/configureStore.prod.js 587 bytes [built]
[1] | ./app/containers/App.js 2.46 KiB [built]
[1] | ./app/containers/HomePage.js 1.12 KiB [built]
[1] | ./app/actions/fileLoader.js 1.01 KiB [built]
[1] | ./app/containers/FileLoaderPage.js 704 bytes [built]
[1] | ./app/containers/GameProfilePage.js 592 bytes [built]
[1] | ./app/containers/SettingsPage.js 597 bytes [built]
[1] | ./app/containers/ConsolePage.js 428 bytes [built]
[1] | ./app/reducers/index.js 544 bytes [built]
[1] | ./app/actions/notifs.js 333 bytes [built]
[1] | + 37 hidden modules
[1] [classnames] external "classnames" 42 bytes {0} [built]
[1] [electron] external "electron" 42 bytes {0} [built]
[1] [electron-settings] external "electron-settings" 42 bytes {0} [built]
[1] [history] external "history" 42 bytes {0} [built]
[1] [lodash] external "lodash" 42 bytes {0} [built]
[1] [prop-types] external "prop-types" 42 bytes {0} [built]
[1] [react] external "react" 42 bytes {0} [built]
[1] [react-dom] external "react-dom" 42 bytes {0} [built]
[1] [react-hot-loader] external "react-hot-loader" 42 bytes {0} [built]
[1] [react-redux] external "react-redux" 42 bytes {0} [built]
[1] [react-router] external "react-router" 42 bytes {0} [built]
[1] [redux] external "redux" 42 bytes {0} [built]
[1] [redux-thunk] external "redux-thunk" 42 bytes {0} [built]
[1] + 90 hidden modules
[1]
[1] ERROR in renderer.prod.js from Terser
[1] undefined
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--7-1!node_modules/sass-loader/lib/loader.js??ref--7-2!app/app.global.scss:
[1] Entrypoint mini-css-extract-plugin = *
[1] [./node_modules/css-loader/index.js?!./node_modules/sass-loader/lib/loader.js?!./app/app.global.scss] ./node_modules/css-loader??ref--7-1!./node_modules/sass-loader/lib/loader.js??ref--7-2!./app/app.global.scss 3.83 K
iB {0} [built]
[1] + 26 hidden modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--8-1!node_modules/sass-loader/lib/loader.js??ref--8-2!app/components/FileLoader.scss:
[1] Entrypoint mini-css-extract-plugin = *
[1] 2 modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--8-1!node_modules/sass-loader/lib/loader.js??ref--8-2!app/components/GlobalAlert.scss:
[1] Entrypoint mini-css-extract-plugin = *
[1] 2 modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--8-1!node_modules/sass-loader/lib/loader.js??ref--8-2!app/components/Home.scss:
[1] Entrypoint mini-css-extract-plugin = *
[1] 2 modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--8-1!node_modules/sass-loader/lib/loader.js??ref--8-2!app/components/Settings.scss:
[1] Entrypoint mini-css-extract-plugin = *
[1] 2 modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--8-1!node_modules/sass-loader/lib/loader.js??ref--8-2!app/components/common/FolderBrowser.scss:
[1] Entrypoint mini-css-extract-plugin = *
[1] 2 modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--8-1!node_modules/sass-loader/lib/loader.js??ref--8-2!app/components/common/LabelDescription.scss:
[1] Entrypoint mini-css-extract-plugin = *
[1] 2 modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--8-1!node_modules/sass-loader/lib/loader.js??ref--8-2!app/components/common/PlayerChiclet.scss:
[1] Entrypoint mini-css-extract-plugin = *
[1] 2 modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--8-1!node_modules/sass-loader/lib/loader.js??ref--8-2!app/components/common/SpacedGroup.scss:
[1] Entrypoint mini-css-extract-plugin = *
[1] 2 modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--8-1!node_modules/sass-loader/lib/loader.js??ref--8-2!app/components/stats/GameProfile.scss:
[1] Entrypoint mini-css-extract-plugin = *
[1] 2 modules
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[1] error Command failed with exit code 2.
[1] yarn build-renderer exited with code 1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment