You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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
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.
以下是log
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/local/Cellar/node/14.3.0/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build-all'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild-all', 'build-all', 'postbuild-all' ]
5 info lifecycle [email protected]prebuild-all: [email protected]
6 info lifecycle [email protected]build-all: [email protected]
7 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.
8 verbose lifecycle [email protected]build-all: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]build-all: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lawrencelaw/ieaseMusic/node_modules/.bin:/var/folders/8f/7vs415913qv8dy0845_kbj2c0000gp/T/yarn--1590326002034-0.7223147133295764:/Users/lawrencelaw/ieaseMusic/node_modules/.bin:/Users/lawrencelaw/.config/yarn/link/node_modules/.bin:/usr/local/Cellar/node/14.3.0/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/Cellar/node/14.3.0/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/Cellar/node/14.3.0/bin/node_modules/npm/bin/node-gyp-bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/aria2/bin
10 verbose lifecycle [email protected]build-all: CWD: /Users/lawrencelaw/ieaseMusic
11 silly lifecycle [email protected]build-all: Args: [ '-c', 'npm run build-main && npm run build-renderer' ]
12 silly lifecycle [email protected]build-all: Returned: code: 2 signal: null
13 info lifecycle [email protected]build-all: Failed to exec build-all script
14 verbose stack Error: [email protected] build-all: npm run build-main && npm run build-renderer
14 verbose stack Exit status 2
14 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
14 verbose stack at EventEmitter.emit (events.js:315:20)
14 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
14 verbose stack at ChildProcess.emit (events.js:315:20)
14 verbose stack at maybeClose (internal/child_process.js:1051:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
15 verbose pkgid [email protected]
16 verbose cwd /Users/lawrencelaw/ieaseMusic
17 verbose Darwin 17.7.0
18 verbose argv "/usr/local/Cellar/node/14.3.0/bin/node" "/usr/local/bin/npm" "run" "build-all"
19 verbose node v14.3.0
20 verbose npm v6.14.4
21 error code ELIFECYCLE
22 error errno 2
23 error [email protected] build-all: npm run build-main && npm run build-renderer
23 error Exit status 2
24 error Failed at the [email protected] build-all script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 2, true ]
The text was updated successfully, but these errors were encountered:
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check electron/electron#18397
GVA error: Not detecting IGPU in IORegistry!
GVA error: Not detecting valid offline codec!
GVA info: Successfully connected to the Intel plugin, offline Gen6
✖ 「wdm」:
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
RAW
以下是log
The text was updated successfully, but these errors were encountered: