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
Failed to create dylib symbolic link on Windows #8149
Comments
This error is happening in our CI where running as administrator is not allowed. Is there a workaround for running as an unprivileged user? |
I also encountered this issue and solved it using 'PowerShell with ADMINISTRATOR' |
FYI, it seems like it's an issue with the 7zip upgrade under the hood. Workaround: downgrade to |
I've the same issue. There is maybe a better workaround available: Download the winCodeSign.7z package manually. You can use the same URL as electron-builder is using: Then extract the archive to the requested location (I've used 7-Zip 23.01 for Windows) so that you have this folder on your machine: That's it. I got no errors during extraction. Once the folder exists the download and extraction of the 7z file is skipped during the electron-builder run. Pro:
Con
|
I got 2 errors after extraction: Cannot create symbolic link : A required privilege is not held by the client. : c:\users[username]\appdata\local\electron-builder\cache\wincodesign\wincodesign-2.6.0\darwin\10.12\lib\libcrypto.dylib |
I tried to make Windows installer of my app with following command and settings:
build_win.js
But it is failed with following errors:
Even if I changed the target from NSIS to portable, it was also failed with the same error.
The error says "libssl.dylib" or "Cannot create symbolic link", so I believe it was caused that needless apple resources were extracted in Windows, and failed to create symbolic link on Windows FS.
Are there any fix for this or any work-around?
The text was updated successfully, but these errors were encountered: