Warning: This command is deprecated. Use move instead !
[ee-bin] [rd] Start moving resources
[ee-bin] [rd] Clear history resources: E:\Work\jianyi-workbench-frame\public\dist
[ee-bin] [rd] Copy a resource to: E:\Work\jianyi-workbench-frame\public\dist
[ee-bin] [rd] End
'front-packaging-completed'
• electron-builder version=24.9.1 os=10.0.22631
• loaded configuration file=E:\Work\jianyi-workbench-frame\electron\config\builderTest.json
• @electron/rebuild not required if you use electron-builder, please consider to remove excess dependency from devDependencies
To ensure your native dependencies are always matched electron version, simply add script "postinstall": "electron-builder install-app-deps" to yourpackage.json`
• writing effective config file=out\builder-effective-config.yaml
• packaging platform=win32 arch=x64 electron=21.4.4 appOutDir=out\win-unpacked
⨯ remove E:\Work\jianyi-workbench-frame\out\win-unpacked\resources\app.asar: The process cannot access the file because it is being used by another process.
github.com/develar/go-fs-util.EnsureEmptyDir
/Volumes/data/go/pkg/mod/github.com/develar/go-fs-util@v0.0.0-20190620175131-69a2d4542206/fs.go:98
github.com/develar/app-builder/pkg/electron.UnpackElectron.func1.1
/Volumes/data/Documents/app-builder/pkg/electron/electronUnpack.go:38
github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2
/Volumes/data/Documents/app-builder/pkg/util/async.go:68
runtime.goexit
/usr/local/Cellar/go/1.17/libexec/src/runtime/asm_amd64.s:1581
⨯ E:\Work\jianyi-workbench-frame\node_modules\app-builder-bin\win\x64\app-builder.exe process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1 failedTask=build stackTrace=Error: E:\Work\jianyi-workbench-frame\node_modules\app-builder-bin\win\x64\app-builder.exe process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1
at ChildProcess. (E:\Work\jianyi-workbench-frame\node_modules\builder-util\src\util.ts:251:14)
at Object.onceWrapper (node:events:628:26)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.cp.emit (E:\Work\jianyi-workbench-frame\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (node:internal/child_process:1100:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
PS E:\Work\jianyi-workbench-frame>
提示进程被占用,我除了打开vscode就没开其他有关软件的东西了
Warning: This command is deprecated. Use move instead ! [ee-bin] [rd] Start moving resources [ee-bin] [rd] Clear history resources: E:\Work\jianyi-workbench-frame\public\dist [ee-bin] [rd] Copy a resource to: E:\Work\jianyi-workbench-frame\public\dist [ee-bin] [rd] End 'front-packaging-completed' • electron-builder version=24.9.1 os=10.0.22631 • loaded configuration file=E:\Work\jianyi-workbench-frame\electron\config\builderTest.json • @electron/rebuild not required if you use electron-builder, please consider to remove excess dependency from devDependencies
To ensure your native dependencies are always matched electron version, simply add script (E:\Work\jianyi-workbench-frame\node_modules\builder-util\src\util.ts:251:14)
at Object.onceWrapper (node:events:628:26)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.cp.emit (E:\Work\jianyi-workbench-frame\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (node:internal/child_process:1100:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
PS E:\Work\jianyi-workbench-frame>
提示进程被占用,我除了打开vscode就没开其他有关软件的东西了
"postinstall": "electron-builder install-app-deps" to your
package.json` • writing effective config file=out\builder-effective-config.yaml • packaging platform=win32 arch=x64 electron=21.4.4 appOutDir=out\win-unpacked ⨯ remove E:\Work\jianyi-workbench-frame\out\win-unpacked\resources\app.asar: The process cannot access the file because it is being used by another process. github.com/develar/go-fs-util.EnsureEmptyDir /Volumes/data/go/pkg/mod/github.com/develar/go-fs-util@v0.0.0-20190620175131-69a2d4542206/fs.go:98 github.com/develar/app-builder/pkg/electron.UnpackElectron.func1.1 /Volumes/data/Documents/app-builder/pkg/electron/electronUnpack.go:38 github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2 /Volumes/data/Documents/app-builder/pkg/util/async.go:68 runtime.goexit /usr/local/Cellar/go/1.17/libexec/src/runtime/asm_amd64.s:1581 ⨯ E:\Work\jianyi-workbench-frame\node_modules\app-builder-bin\win\x64\app-builder.exe process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE Exit code: 1 failedTask=build stackTrace=Error: E:\Work\jianyi-workbench-frame\node_modules\app-builder-bin\win\x64\app-builder.exe process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE Exit code: 1 at ChildProcess.