imac:ieasemusic lawrencelaw$ yarn build
yarn run v1.22.4
$ npm run clean && npm run build-all && electron-builder
npm WARN lifecycle The node binary used for scripts is /var/folders/8f/7vs415913qv8dy0845_kbj2c0000gp/T/yarn--1590326002034-0.7223147133295764/node but npm is using /usr/local/Cellar/node/14.3.0/bin/node itself. Use the --scripts-prepend-node-path
option to include the path for the node binary npm was executed with.
[email protected] clean /Users/lawrencelaw/ieaseMusic
rimraf dist && rimraf build
npm WARN lifecycle The node binary used for scripts is /var/folders/8f/7vs415913qv8dy0845_kbj2c0000gp/T/yarn--1590326002034-0.7223147133295764/node but npm is using /usr/local/Cellar/node/14.3.0/bin/node itself. Use the --scripts-prepend-node-path
option to include the path for the node binary npm was executed with.
[email protected] build-all /Users/lawrencelaw/ieaseMusic
npm run build-main && npm run build-renderer
npm WARN lifecycle The node binary used for scripts is /var/folders/8f/7vs415913qv8dy0845_kbj2c0000gp/T/yarn--1590326002034-0.7223147133295764/node but npm is using /usr/local/Cellar/node/14.3.0/bin/node itself. Use the --scripts-prepend-node-path
option to include the path for the node binary npm was executed with.
[email protected] build-main /Users/lawrencelaw/ieaseMusic
webpack --config webpack/webpack.main.prod.config.js
Hash: a377ebe8e4acf1199256
Version: webpack 4.43.0
Time: 1590ms
Built at: 05/24/2020 9:13:26 PM
Asset Size Chunks Chunk Names
main.js 623 KiB 0 [emitted] main
Entrypoint main = main.js
[0] external "electron" 42 bytes {0} [built]
[1] external "path" 42 bytes {0} [built]
[2] external "fs" 42 bytes {0} [built]
[3] external "util" 42 bytes {0} [built]
[4] external "assert" 42 bytes {0} [built]
[6] (webpack)/buildin/harmony-module.js 573 bytes {0} [built]
[8] external "events" 42 bytes {0} [built]
[21] external "os" 42 bytes {0} [built]
[33] external "url" 42 bytes {0} [built]
[34] ./src/main/ipcMainSets.ts 3.17 KiB {0} [built]
[36] ./src/shared/storage.ts 988 bytes {0} [built]
[38] ./src/main/index.ts 7.84 KiB {0} [built]
[51] external "child_process" 42 bytes {0} [built]
[54] external "https" 42 bytes {0} [built]
[69] external "tty" 42 bytes {0} [built]
+ 112 hidden modules
npm WARN lifecycle The node binary used for scripts is /var/folders/8f/7vs415913qv8dy0845_kbj2c0000gp/T/yarn--1590326002034-0.7223147133295764/node but npm is using /usr/local/Cellar/node/14.3.0/bin/node itself. Use the --scripts-prepend-node-path
option to include the path for the node binary npm was executed with.
[email protected] build-renderer /Users/lawrencelaw/ieaseMusic
webpack --config webpack/webpack.renderer.prod.config.js
Warning: React version not specified in eslint-plugin-react settings. See https://github.com/yannickcr/eslint-plugin-react#configuration .
Hash: b31e37e9dd269c997a33
Version: webpack 4.43.0
Time: 23817ms
Built at: 05/24/2020 9:13:51 PM
19 assets
Entrypoint app = vendor.8c7951b8dae59faa8e86.chunk.js app.f41d85dbeebac4bac34b.js
[3] (webpack)/buildin/harmony-module.js 573 bytes {0} [built]
[8] ./node_modules/@material-ui/core/esm/styles/withStyles.js + 1 modules 4.71 KiB {0} [built]
| 2 modules
[10] external "electron" 42 bytes {2} [built]
[11] ./src/renderer/stores/controller.ts 11.6 KiB {2} [built]
[12] ./src/renderer/context.tsx 1.65 KiB {2} [built]
[15] ./node_modules/react-router/esm/react-router.js + 1 modules 29.9 KiB {0} [built]
| 2 modules
[41] ./node_modules/history/esm/history.js + 2 modules 30.6 KiB {0} [built]
| 3 modules
[47] ./src/renderer/utils/lastfm.ts 4.97 KiB {2} [built]
[49] ./src/renderer/stores/upnext.ts 3.84 KiB {2} [built]
[77] ./src/renderer/stores/preferences.ts 21.1 KiB {2} [built]
[192] ./src/renderer/App.tsx 7.43 KiB {2} [built]
[202] ./src/renderer/stores/index.ts 1.51 KiB {2} [built]
[235] ./src/renderer/routes/index.tsx 5.42 KiB {2} [built]
[273] ./src/renderer/index.tsx 426 bytes {2} [built]
[351] ./src/renderer/App.less 587 bytes {2} [built]
+ 622 hidden modules
WARNING in ./src/renderer/components/Header/index.tsx
Module Warning (from ./node_modules/eslint-loader/index.js):
/Users/lawrencelaw/ieaseMusic/src/renderer/components/Header/index.tsx
18:31 warning 'playing' is assigned a value but never used @typescript-eslint/no-unused-vars
✖ 1 problem (0 errors, 1 warning)
@ ./src/renderer/views/FM/index.tsx 24:0-39 130:38-44
@ ./src/renderer/routes/index.tsx
@ ./src/renderer/App.tsx
@ ./src/renderer/index.tsx
WARNING in ./src/renderer/views/FM/index.tsx
Module Warning (from ./node_modules/eslint-loader/index.js):
/Users/lawrencelaw/ieaseMusic/src/renderer/views/FM/index.tsx
172:42 warning '_' is defined but never used @typescript-eslint/no-unused-vars
✖ 1 problem (0 errors, 1 warning)
@ ./src/renderer/routes/index.tsx 30:28-49
@ ./src/renderer/App.tsx
@ ./src/renderer/index.tsx
ERROR in ./src/renderer/views/Search/index.tsx
Module Error (from ./node_modules/eslint-loader/index.js):
/Users/lawrencelaw/ieaseMusic/src/renderer/views/Search/index.tsx
70:25 error Unexpected empty arrow function @typescript-eslint/no-empty-function
✖ 1 problem (1 error, 0 warnings)
@ ./src/renderer/routes/index.tsx 29:32-57
@ ./src/renderer/App.tsx
@ ./src/renderer/index.tsx
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
[0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/renderer/index.html 380 bytes {0} [built]
[2] (webpack)/buildin/module.js 497 bytes {0} [built]
+ 1 hidden module
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build-renderer: webpack --config webpack/webpack.renderer.prod.config.js
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build-renderer script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/lawrencelaw/.npm/_logs/2020-05-24T13_13_51_981Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build-all: npm run build-main && npm run build-renderer
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build-all script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/lawrencelaw/.npm/_logs/2020-05-24T13_13_52_069Z-debug.log
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.