Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac npm 打包失败 #454

Open
OrdosCC opened this issue Mar 18, 2020 · 0 comments
Open

mac npm 打包失败 #454

OrdosCC opened this issue Mar 18, 2020 · 0 comments

Comments

@OrdosCC
Copy link

OrdosCC commented Mar 18, 2020

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/Users/machy/.nvm/versions/node/v13.11.0/bin/node',
1 verbose cli '/Users/machy/.nvm/versions/node/v13.11.0/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]prebuild: [email protected]
6 info lifecycle [email protected]
build: [email protected]
7 verbose lifecycle [email protected]build: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
build: PATH: /Users/machy/.nvm/versions/node/v13.11.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/machy/Downloads/ieaseMusic/node_modules/.bin:/usr/local/opt/gettext/bin:/usr/local/opt/coreutils/libexec/gnubin:/Users/machy/.nvm/versions/node/v13.11.0/bin:/usr/local/opt/gettext/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/gettext/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/aria2/bin:/Applications/Wireshark.app/Contents/MacOS
9 verbose lifecycle [email protected]build: CWD: /Users/machy/Downloads/ieaseMusic
10 silly lifecycle [email protected]
build: Args: [ '-c', 'rm -rf dist && npm run build-main && npm run build-renderer' ]
11 silly lifecycle [email protected]build: Returned: code: 2 signal: null
12 info lifecycle [email protected]
build: Failed to exec build script
13 verbose stack Error: [email protected] build: rm -rf dist && npm run build-main && npm run build-renderer
13 verbose stack Exit status 2
13 verbose stack at EventEmitter. (/Users/machy/.nvm/versions/node/v13.11.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess. (/Users/machy/.nvm/versions/node/v13.11.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1026:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid [email protected]
15 verbose cwd /Users/machy/Downloads/ieaseMusic
16 verbose Darwin 19.3.0
17 verbose argv "/Users/machy/.nvm/versions/node/v13.11.0/bin/node" "/Users/machy/.nvm/versions/node/v13.11.0/bin/npm" "run" "build"
18 verbose node v13.11.0
19 verbose npm v6.13.7
20 error code ELIFECYCLE
21 error errno 2
22 error [email protected] build: rm -rf dist && npm run build-main && npm run build-renderer
22 error Exit status 2
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant