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

Problems caused by excessively large extraResources resources #8225

Open
zhEmail opened this issue May 21, 2024 · 0 comments
Open

Problems caused by excessively large extraResources resources #8225

zhEmail opened this issue May 21, 2024 · 0 comments

Comments

@zhEmail
Copy link

zhEmail commented May 21, 2024

electron-builder version=22.14.13 os=10.0.22631
vue2
window11
"electron": "^28.0.0",
"vue-cli-plugin-electron-builder": "~2.1.1",

image

File: failed creating mmap of "D:\front\project\cipe-views\dist_electron\Cipe-1.0.0-ia32.nsis.7z"
Error in macro ia32_app_files on macroline 1
Error in macro compute_files_for_current_arch on macroline 11
Error in macro extractEmbeddedAppPackage on macroline 8
Error in macro installApplicationFiles on macroline 79
!include: error in script: "installSection.nsh" on line 63
Error in script "" on line 190 -- aborting creation process

at ChildProcess.<anonymous> (D:\front\project\cipe-views\node_modules\builder-util\src\util.ts:250:14)
at Object.onceWrapper (node:events:628:26)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.cp.emit (D:\front\project\cipe-views\node_modules\builder-util\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) {

exitCode: 1,
alreadyLogged: false,
code: 'ERR_ELECTRON_BUILDER_CANNOT_EXECUTE'
}

When I have a resource size of 1 G, it works fine

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