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
Great! Including a demo project to reproduce the bug is an excellent way to provide additional context and aid in troubleshooting. Here's a revised version of your GitHub issue incorporating the link to your demo project:
Body:
Environment:
Electron Forge version: 7.2.0
Electron version: v28.2.0
Operating System and version: macOS Sonoma 14.2.1
Last known working Electron Forge version (if applicable): n/a
Issue Description:
When using electron-rebuild in my Electron Forge project, I've encountered a bug where the symlinks for native modules are ignored during the copy process. This leads to crashes, as the necessary libraries are not correctly linked.
Expected Behavior:
The electron-rebuild process should handle symlinks in native_modules correctly, ensuring that all necessary libraries are properly linked and accessible.
Actual Behavior:
Symlinks in native_modules are ignored during the rebuild process, causing runtime crashes due to missing library links.
Additional Information:
App threw an error during load
Error: dlopen(/Users/.../my-new-app/.webpack/main/native_modules/lib/napi-v8/tfjs_binding.node, 0x0001): Library not loaded: @loader_path/../../deps/lib/libtensorflow.2.dylib
Referenced from: <DE780050-AAAC-3B4D-955D-C8090D464B45> /Users/.../my-new-app/.webpack/main/native_modules/lib/napi-v8/tfjs_binding.node
Reason: tried: '/Users/.../my-new-app/.webpack/main/native_modules/lib/napi-v8/../../deps/lib/libtensorflow.2.dylib' (no such file)
Screenshots/Logs:
Orignal libs
Copied libs
The text was updated successfully, but these errors were encountered:
Great! Including a demo project to reproduce the bug is an excellent way to provide additional context and aid in troubleshooting. Here's a revised version of your GitHub issue incorporating the link to your demo project:
Body:
Environment:
Issue Description:
When using
electron-rebuild
in my Electron Forge project, I've encountered a bug where the symlinks for native modules are ignored during the copy process. This leads to crashes, as the necessary libraries are not correctly linked.Steps to Reproduce:
Expected Behavior:
The
electron-rebuild
process should handle symlinks innative_modules
correctly, ensuring that all necessary libraries are properly linked and accessible.Actual Behavior:
Symlinks in
native_modules
are ignored during the rebuild process, causing runtime crashes due to missing library links.Additional Information:
Screenshots/Logs:
Orignal libs
Copied libs
The text was updated successfully, but these errors were encountered: