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
But, using electron-webpack, electron complains Uncaught Error: Cannot find module. Is there a way to make sure the import works?
My guess is that this is happening because electron-remote is trying to handle the module directly, like it would in a traditional context while our imports are being handled by Webpack.
Thanks for all the help @develar and the awesome package!
The text was updated successfully, but these errors were encountered:
This seems to be specific to electron-remote & how it handles filepaths. It seems it's approach doesn't work with Webpack. I am closing the issue as it's not electron-webpack specific.
But @develar any ideas about work arounds for this kind of situation?
Hey all,
I am trying to use
electron-remote
where it spins out a hidden browser window to run functions in the background. So, the approach is:But, using electron-webpack, electron complains
Uncaught Error: Cannot find module
. Is there a way to make sure the import works?My guess is that this is happening because
electron-remote
is trying to handle the module directly, like it would in a traditional context while our imports are being handled by Webpack.Thanks for all the help @develar and the awesome package!
The text was updated successfully, but these errors were encountered: