You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the css directory, there exists a subdirectory named v1.1, which is pointed to by a symbolic link named v1. The index.html file references css/v1/style.css to load the stylesheet.
Problem
When I build the project with the target set to mac/universal, I encounter the error "Failed to load resource: net::ERR_FILE_NOT_FOUND" while loading the stylesheet. I unpack the app.asar and find out that the v1.1 directory is missing while the symbolic link v1 exists. I attempted to build the project targeting mac/arm64 or mac/x64, and encountered no issues. From my observations, it appears that the problem occurs only when there is a symbolic link pointing to a directory whose name contains a dot (.), and the target is set to mac/universal.
The text was updated successfully, but these errors were encountered:
So, all electron-builder is doing is using @electron/universal package to stitch together the compiled asars. I'd recommend opening an issue there describing your issue, as I don't think there's something we can do from electron-builder side if your individual arm64 and x64 builds are working correctly?
The structure of my Electron project is as follows:
In the
css
directory, there exists a subdirectory namedv1.1
, which is pointed to by a symbolic link namedv1
. Theindex.html
file referencescss/v1/style.css
to load the stylesheet.Problem
When I build the project with the target set to
mac/universal
, I encounter the error "Failed to load resource: net::ERR_FILE_NOT_FOUND" while loading the stylesheet. I unpack theapp.asar
and find out that thev1.1
directory is missing while the symbolic linkv1
exists. I attempted to build the project targetingmac/arm64
ormac/x64
, and encountered no issues. From my observations, it appears that the problem occurs only when there is a symbolic link pointing to a directory whose name contains a dot (.
), and the target is set tomac/universal
.The text was updated successfully, but these errors were encountered: