Hey Electron Community,
I am trying to make an app with react & electron. I am finally to the point I need to send some data from my front end (react) to the back end (electron) to make some files and start making them communicate in general. But anytime I try to import IpcRenderer on my React front end I get the same error..
I have tried to import it both as import and require it, either way.
ERROR in ./node_modules/electron/index.js 1:11-24
Module not found: Error: Can't resolve 'fs' in 'S:\Projects\auto-budgeter\node_modules\electron'
That line in index.js is <React.StrictMode> that it mentions in the error. Is it just a werid thing with React's Strict mode? What am I missing here, im not sure what else I can give you to help other than that.