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

ERROR in Build generation for windows #676

Open
4 tasks done
mdtausifiqbal opened this issue Dec 4, 2024 · 0 comments
Open
4 tasks done

ERROR in Build generation for windows #676

mdtausifiqbal opened this issue Dec 4, 2024 · 0 comments

Comments

@mdtausifiqbal
Copy link

Describe the bug

D:\Projects\electron-solid>npm run build:win

[email protected] build:win
npm run build && electron-builder --win

[email protected] build
npm run typecheck && electron-vite build

[email protected] typecheck
npm run typecheck:node && npm run typecheck:web

[email protected] typecheck:node
tsc --noEmit -p tsconfig.node.json --composite false

[email protected] typecheck:web
tsc --noEmit -p tsconfig.web.json --composite false

vite v5.4.11 building SSR bundle for production...
✓ 2 modules transformed.
out/main/index.js 1.48 kB
✓ built in 511ms
vite v5.4.11 building SSR bundle for production...
✓ 1 modules transformed.
out/preload/index.js 0.42 kB
✓ built in 28ms
vite v5.4.11 building for production...
✓ 8 modules transformed.
../../out/renderer/index.html 0.55 kB
../../out/renderer/assets/electron-DtwWEc_u.svg 5.82 kB
../../out/renderer/assets/index-NdqvVkCc.css 6.75 kB
../../out/renderer/assets/index-DMdxvgsG.js 18.44 kB
✓ built in 1.53s
• electron-builder version=24.13.3 os=10.0.19045
• loaded configuration file=D:\Projects\electron-solid\electron-builder.yml
• writing effective config file=dist\builder-effective-config.yaml
• skipped dependencies rebuild reason=npmRebuild is set to false
• packaging platform=win32 arch=x64 electron=31.7.5 appOutDir=dist\win-unpacked
• downloading url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z size=5.6 MB parts=1
• downloaded url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z duration=11.159s
⨯ cannot execute cause=exit status 2
out=
7-Zip (a) 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26

Scanning the drive for archives:
1 file, 5635384 bytes (5504 KiB)

Extracting archive: C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\278254775.7z
--
Path = C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\278254775.7z
Type = 7z
Physical Size = 5635384
Headers Size = 1492
Method = LZMA2:24m LZMA:20 BCJ2
Solid = +
Blocks = 2


Sub items Errors: 2

Archives with Errors: 1

Sub items Errors: 2

                errorOut=ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\278254775\darwin\10.12\lib\libcrypto.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\278254775\darwin\10.12\lib\libssl.dylib

                command='D:\Projects\electron-solid\node_modules\.pnpm\[email protected]\node_modules\7zip-bin\win\x64\7za.exe' x -bd 'C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\278254775.7z' '-oC:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\278254775'
                workingDir=C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign

• Above command failed, retrying 3 more times
• downloading url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z size=5.6 MB parts=1
• downloaded url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z duration=4.272s
⨯ cannot execute cause=exit status 2
out=
7-Zip (a) 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26

Scanning the drive for archives:
1 file, 5635384 bytes (5504 KiB)

Extracting archive: C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\403932575.7z
--
Path = C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\403932575.7z
Type = 7z
Physical Size = 5635384
Headers Size = 1492
Method = LZMA2:24m LZMA:20 BCJ2
Solid = +
Blocks = 2


Sub items Errors: 2

Archives with Errors: 1

Sub items Errors: 2

                errorOut=ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\403932575\darwin\10.12\lib\libcrypto.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\403932575\darwin\10.12\lib\libssl.dylib

                command='D:\Projects\electron-solid\node_modules\.pnpm\[email protected]\node_modules\7zip-bin\win\x64\7za.exe' x -bd 'C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\403932575.7z' '-oC:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\403932575'
                workingDir=C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign

• Above command failed, retrying 2 more times
• downloading url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z size=5.6 MB parts=1
• downloaded url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z duration=4.488s
⨯ cannot execute cause=exit status 2
out=
7-Zip (a) 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26

Scanning the drive for archives:
1 file, 5635384 bytes (5504 KiB)

Extracting archive: C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\262535439.7z
--
Path = C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\262535439.7z
Type = 7z
Physical Size = 5635384
Headers Size = 1492
Method = LZMA2:24m LZMA:20 BCJ2
Solid = +
Blocks = 2


Sub items Errors: 2

Archives with Errors: 1

Sub items Errors: 2

                errorOut=ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\262535439\darwin\10.12\lib\libcrypto.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\262535439\darwin\10.12\lib\libssl.dylib

                command='D:\Projects\electron-solid\node_modules\.pnpm\[email protected]\node_modules\7zip-bin\win\x64\7za.exe' x -bd 'C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\262535439.7z' '-oC:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\262535439'
                workingDir=C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign

• Above command failed, retrying 1 more times
• downloading url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z size=5.6 MB parts=1
• downloaded url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z duration=3.977s
⨯ cannot execute cause=exit status 2
out=
7-Zip (a) 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26

Scanning the drive for archives:
1 file, 5635384 bytes (5504 KiB)

Extracting archive: C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\682340355.7z
--
Path = C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\682340355.7z
Type = 7z
Physical Size = 5635384
Headers Size = 1492
Method = LZMA2:24m LZMA:20 BCJ2
Solid = +
Blocks = 2


Sub items Errors: 2

Archives with Errors: 1

Sub items Errors: 2

                errorOut=ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\682340355\darwin\10.12\lib\libcrypto.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\682340355\darwin\10.12\lib\libssl.dylib

                command='D:\Projects\electron-solid\node_modules\.pnpm\[email protected]\node_modules\7zip-bin\win\x64\7za.exe' x -bd 'C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\682340355.7z' '-oC:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign\682340355'
                workingDir=C:\Users\Dell\AppData\Local\electron-builder\Cache\winCodeSign

• Above command failed, retrying 0 more times

Electron-Vite Version

2.3.0

Electron Version

31.0.2

Vite Version

5.3.1

Validations

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