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.
When checking out 4.0.0 or 4.1.0 I can't use the ipcRenderer in an Angular component, when I do it errors with:
ERROR in ./node_modules/electron/index.js
Module not found: Error: Can't resolve 'fs' in 'C:\...\node_modules\electron'
ERROR in ./node_modules/electron/index.js
Module not found: Error: Can't resolve 'path' in 'C:\...\node_modules\electron'
Here is the code from the component, it's just the stock 'home' one:
Just tried the above in 4.1.0 and that also works. So I guess I'll just keep using the window.require? I have an older project that could just use a normal import. Not sure what's changed.
When checking out 4.0.0 or 4.1.0 I can't use the ipcRenderer in an Angular component, when I do it errors with:
Here is the code from the component, it's just the stock 'home' one:
If I comment out the send in the action method then it runs just fine, so the import isn't the problem.
The text was updated successfully, but these errors were encountered: