Jiahui Chen

Results 9 comments of Jiahui Chen

> you need to use ipcrenderer . [process](https://www.electronjs.org/docs/latest/tutorial/quick-start#access-nodejs-from-the-renderer-with-a-preload-script) [ipcRenderer](https://www.electronjs.org/docs/latest/api/ipc-renderer) I haven't tried with ipcrenderer yet, but I'd still prefer to import and use the store instead. It should work either...

Thank you @1923998238 for the clarification! ^.^

I think that's the usage if you create the Electron Store instance in the renderer process. I guess that if you create it in the main process, you'll have to...

@alexanderkershaw The documentation is misleading. It is not possible to access to the file system from the renderer process due to security reasons. Hence, you can't use require. The workaround...

@rangerthegood This solved the CORS error, what a dumb mistake it was. Thank you! 👍

> Hey all, I have the same error but none of the above helped. > > Looking closely at the error message I can see that the `moduleId` that webpack...

Alright, thank you! Let me know once it's fixed. Or if there's a workaround in the meanwhile.

Yes, you're totally right @Zt448143356 ! What a silly mistake. And thank you so much for the help provided, it does work now! 💯

> i have the same issue. update the name of package.json ,it done, i fix the issue. Hey @wangzhanpeng, I guess you got it working, right? How did you change...