Created
November 20, 2018 19:47
-
-
Save gabriel/a82b942c88defe1825f6e5850168b9d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~/Projects/electron-react-boilerplate (master) yarn start | |
yarn run v1.12.3 | |
$ yarn 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: 733a110763a28611c3cb | |
[0] Version: webpack 4.23.1 | |
[0] Time: 2258ms | |
[0] Built at: 11/20/2018 11:37: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.69 KiB {0} [built] | |
[0] | ./app/main.dev.js 2.54 KiB [built] | |
[0] | ./app/menu.js 6.14 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: 8a73f9795de930b15d77 | |
[1] Version: webpack 4.23.1 | |
[1] Time: 3210ms | |
[1] Built at: 11/20/2018 11:37:03 AM | |
[1] Asset Size Chunks Chunk Names | |
[1] 09bc9e8c7d6dfdace635ea073974db13.woff 90.6 KiB [emitted] | |
[1] 0e2e26fb3527ae47f9eb1c217592b706.ttf 39.4 KiB [emitted] | |
[1] 3f4d4ad447e748754e994a11ff8c6a6f.svg 684 KiB [emitted] | |
[1] 3f759796d3d16b8434841d61cd2c007a.svg 709 KiB [emitted] | |
[1] 52899632324b722c9c7931bd38196afb.woff 17.7 KiB [emitted] | |
[1] a31c967484b343189fc58bce914ed245.eot 122 KiB [emitted] | |
[1] b5a61b229c9c92a6ac21f5b0e3c6e9f1.svg 139 KiB [emitted] | |
[1] baa1e2496e8c71f636587c32f4016ca4.eot 187 KiB [emitted] | |
[1] c38ef825039cbe8ec76d4f13854f767e.eot 39.6 KiB [emitted] | |
[1] dd25437adf06f377113f5df3507423b2.woff2 14.5 KiB [emitted] | |
[1] dec02372212aab5a2e5294f1a11756ed.ttf 122 KiB [emitted] | |
[1] e143b57de78138e6d5963908afa7e393.ttf 187 KiB [emitted] | |
[1] e4a6cecbe2bb89b0722b5dc85090af7c.woff2 67.4 KiB [emitted] | |
[1] eef6051639f95300dbf0293ad216c6b0.woff 78.8 KiB [emitted] | |
[1] fd531d212b567d6049f400165473589f.woff2 70.3 KiB [emitted] | |
[1] renderer.prod.js 54.6 KiB 0 [emitted] main | |
[1] renderer.prod.js.map 167 KiB 0 [emitted] main | |
[1] style.css 51 KiB 0 [emitted] main | |
[1] style.css.map 102 KiB [emitted] | |
[1] Entrypoint main = style.css renderer.prod.js renderer.prod.js.map | |
[1] [./app/app.global.css] 39 bytes {0} [built] | |
[1] [./app/constants/routes.json] 42 bytes {0} [built] | |
[1] [./app/index.js] ./app/index.js + 13 modules 15.5 KiB {0} [built] | |
[1] | ./app/index.js 1.68 KiB [built] | |
[1] | ./app/containers/Root.js 1.43 KiB [built] | |
[1] | ./app/store/configureStore.js 333 bytes [built] | |
[1] | ./app/Routes.js 1.4 KiB [built] | |
[1] | ./app/store/configureStore.dev.js 1.84 KiB [built] | |
[1] | ./app/store/configureStore.prod.js 562 bytes [built] | |
[1] | ./app/containers/App.js 1.24 KiB [built] | |
[1] | ./app/containers/HomePage.js 1.25 KiB [built] | |
[1] | ./app/actions/counter.js 604 bytes [built] | |
[1] | ./app/containers/CounterPage.js 430 bytes [built] | |
[1] | ./app/reducers/index.js 338 bytes [built] | |
[1] | ./app/reducers/counter.js 297 bytes [built] | |
[1] | + 2 hidden modules | |
[1] [history] external "history" 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] [react-router-dom] external "react-router-dom" 42 bytes {0} [built] | |
[1] [redux] external "redux" 42 bytes {0} [built] | |
[1] [redux-thunk] external "redux-thunk" 42 bytes {0} [built] | |
[1] + 37 hidden modules | |
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--5-1!app/app.global.css: | |
[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] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--6-1!app/components/Counter.css: | |
[1] Entrypoint mini-css-extract-plugin = * | |
[1] 2 modules | |
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--6-1!app/components/Home.css: | |
[1] Entrypoint mini-css-extract-plugin = * | |
[1] 2 modules | |
[1] yarn build-renderer exited with code 0 | |
$ cross-env NODE_ENV=production electron ./app/ | |
App threw an error during load | |
/Users/gabe/Projects/electron-react-boilerplate/app/index.js:1 | |
(function (exports, require, module, __filename, __dirname, process, global, Buffer) { return function (exports, require, module, __filename, __dirname) { import React from 'react'; | |
^^^^^^ | |
SyntaxError: Unexpected token import | |
at createScript (vm.js:80:10) | |
at Object.runInThisContext (vm.js:139:10) | |
at Module._compile (module.js:606:28) | |
at Object.Module._extensions..js (module.js:653:10) | |
at Module.load (module.js:561:32) | |
at tryModuleLoad (module.js:504:12) | |
at Function.Module._load (module.js:496:3) | |
at loadApplicationPackage (/Users/gabe/Projects/electron-react-boilerplate/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js:287:12) | |
at Object.<anonymous> (/Users/gabe/Projects/electron-react-boilerplate/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js:328:5) | |
at Object.<anonymous> (/Users/gabe/Projects/electron-react-boilerplate/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js:365:3) | |
^C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment