trazyn / weweChat

💬 Unofficial WeChat client built with React, MobX and Electron.
MIT License
5.75k stars 736 forks source link

编译出错 #253

Open memory125 opened 4 years ago

memory125 commented 4 years ago

编译错误如下: 0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'run', 1 verbose cli 'build' 1 verbose cli ] 2 info using npm@6.14.5 3 info using node@v12.18.2 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 5 info lifecycle wewechat@1.1.6~prebuild: wewechat@1.1.6 6 info lifecycle wewechat@1.1.6~build: wewechat@1.1.6 7 verbose lifecycle wewechat@1.1.6~build: unsafe-perm in lifecycle true 8 verbose lifecycle wewechat@1.1.6~build: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\open-source\electron\weweChat-1.1.7\node_modules\.bin;C:\Users\Wing Meng\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Wing Meng\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files\Git\cmd;C:\Program Files\nodejs;C:\Users\Wing Meng\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\IntelliJ IDEA 2019.3\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Java\jdk1.8.0_221\jre\bin;C:\Go\bin;C:\Program Files\JetBrains\GoLand 2019.3.4\bin;C:\Users\Wing Meng\AppData\Roaming\npm;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl 9 verbose lifecycle wewechat@1.1.6~build: CWD: D:\open-source\electron\weweChat-1.1.7 10 silly lifecycle wewechat@1.1.6~build: Args: [ 10 silly lifecycle '/d /s /c', 10 silly lifecycle 'rm -rf dist && npm run build-main && npm run build-renderer' 10 silly lifecycle ] 11 silly lifecycle wewechat@1.1.6~build: Returned: code: 1 signal: null 12 info lifecycle wewechat@1.1.6~build: Failed to exec build script 13 verbose stack Error: wewechat@1.1.6 build:rm -rf dist && npm run build-main && npm run build-renderer 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\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.<anonymous> (C:\Program Files\nodejs\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:1021:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) 14 verbose pkgid wewechat@1.1.6 15 verbose cwd D:\open-source\electron\weweChat-1.1.7 16 verbose Windows_NT 10.0.18362 17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build" 18 verbose node v12.18.2 19 verbose npm v6.14.5 20 error code ELIFECYCLE 21 error errno 1 22 error wewechat@1.1.6 build:rm -rf dist && npm run build-main && npm run build-renderer 22 error Exit status 1 23 error Failed at the wewechat@1.1.6 build script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]