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
Using inversify in Electron renderer process when enabling sandbox
Current Behavior
I can not use inversify in Electron renderer process when enabling sandbox while when disabling sandbox will be OK, and it's OK when using it from the main process that can use nodejs on all the cases.
Context
Electron v20 has a breaking change feat: sandbox preloads by default electron/electron#35125 , after enabling sandbox we got an error Error: module not found: inversify that will prevent loading the preload script, while when disabling sandbox will be OK, but we would like to apply Electron recommendations for the security on our app.
Expected Behavior
Using
inversify
in Electron renderer process when enablingsandbox
Current Behavior
I can not use
inversify
in Electron renderer process when enablingsandbox
while when disablingsandbox
will be OK, and it's OK when using it from themain process
that can use nodejs on all the cases.Context
v20
has a breaking change feat: sandbox preloads by default electron/electron#35125 , after enablingsandbox
we got an errorError: module not found: inversify
that will prevent loading the preload script, while when disablingsandbox
will be OK, but we would like to apply Electron recommendations for the security on our app.inversify
without nodejs.Your Environment
v6.0.1
v20
and upThe text was updated successfully, but these errors were encountered: