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
{{ message }}
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
I am facing problems with electron-edge when the electron app which contains electron-edge is updated via electron-builder nsis update mechanism (same problem occured with squirrel update before as well).
electron: =1.4.4
electron-edge: @electron_v1.4.4
What seems to happen, is that the update process terminates the electron-app, deletes old install directory (appname/0.9.0-beta.1), installs to new install directory (appname/0.9.0-beta.2) and starts the app again.
At this point the importing/requiring of electron-edge fails as node-require still looks for electron-edge in the old install directory which is not existing anymore.
could not load edge module: Cannot find module 'C:/Users/username/AppData/Local/Programs/appname/0.9.0-beta.1/resources/app.asar/node_modules/electron-edge/lib/native/win32/x64/6.5.0/edge_nativeclr
Did you experience this problem before and is the assumption that the problem originates from node not being able to unload/clear cache of native modules ( nodejs/node#6160 ) correct? Any way to work around this limitation?
The text was updated successfully, but these errors were encountered:
I am facing problems with electron-edge when the electron app which contains electron-edge is updated via electron-builder nsis update mechanism (same problem occured with squirrel update before as well).
electron: =1.4.4
electron-edge: @electron_v1.4.4
What seems to happen, is that the update process terminates the electron-app, deletes old install directory (appname/0.9.0-beta.1), installs to new install directory (appname/0.9.0-beta.2) and starts the app again.
At this point the importing/requiring of electron-edge fails as node-require still looks for electron-edge in the old install directory which is not existing anymore.
could not load edge module: Cannot find module 'C:/Users/username/AppData/Local/Programs/appname/0.9.0-beta.1/resources/app.asar/node_modules/electron-edge/lib/native/win32/x64/6.5.0/edge_nativeclr
Did you experience this problem before and is the assumption that the problem originates from node not being able to unload/clear cache of native modules ( nodejs/node#6160 ) correct? Any way to work around this limitation?
The text was updated successfully, but these errors were encountered: