#Build error: errorOut=ERROR: Cannot create symbolic link : A required privilege is not held by the..

1 messages · Page 1 of 1 (latest)

novel apex
#

Trying to build my electron app and im getting this error.

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

                    command='C:\Users\frede\projects\pod-gear-frontend\node_modules\.pnpm\[email protected]\node_modules\7zip-bin\win\x64\7za.exe' x -bd 'C:\Users\frede\AppData\Local\electron-builder\Cache\winCodeSign\508466443.7z' '-oC:\Users\frede\AppData\Local\electron-builder\Cache\winCodeSign\508466443'
                    workingDir=C:\Users\frede\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=1.306s
  ⨯ 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\frede\AppData\Local\electron-builder\Cache\winCodeSign\646765919.7z
    --
    Path = C:\Users\frede\AppData\Local\electron-builder\Cache\winCodeSign\646765919.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

No idea at all what to do here so any help or pointing me in the right direction is much appreciated 🙂

#

Ah, I think its because I wasn't running as Administrator