Welcome to this comprehensive guide where we will embark on a journey to master the art of setting up Electron and React using Electron Forge 6 and...
For further actions, you may consider blocking this person and/or reporting abuse
The
yarn create electron-app <app-name>
command fails on windows if your user directory has a space in it. My%USERPROFILE%
isC:\Users\Nathan Fiscaletti
. Due to this, I get this error:Yes, this error still persists with Yarn. Though npm works well here.
Thanks for the article, exactly the explanation I was looking for.
Great job
PS: import App from "./app.jsx"; must mean import App from "./App.jsx";
hello please mine showed up empty
The article is updated. You can try now.
hello please you left out a step
you have to import the index.js in the render.js
Yes, Sorry for this. I have updated the article. Thankyou.
Nice article. I've been thinking of working with ElectronJS
Will definitely try it out
mine also shows empty
Yes, sorry for this. I actually forgot to import the
index.js
file inside the renderer. I have updated the article now. Thankyou.Good job.
helpful article thank you but do you have any idea if someone is using nextjs then which file can act as a main file (like in react you are using index.js).
Not sure. I have to try that. Never used NextJs with Electron. Also I guess no need to. Major benefit of using NextJs is optimizing load time. Since your application is gonna serve locally. No need.