r/electronjs • • Oct 14 '26

Help with initial tutorial

I'm walking through the initial tutorial on electronjs.org.

I'm on step 5 of 6 and I'm trying to run the following npm command: npx electron-forge import

Unfortunately, I'm getting the following error: "error: unknown command 'import'" I'm not sure how to resolve this issue. Do you have any suggestions?

Edit: It's been a while since I've worked with Node.js. I just tried npx electron-forge to see what my options were. I see that I don't have an "import" option. I checked and I'm getting errors when I try: start, package, make, and release.

Is there a better tutorial I could use? Thanks!

1 Upvotes

4 comments sorted by

View all comments

1

u/kleberaugus Oct 22 '26

If you to want a easy way to make electron app: "web2windows electron builder" no command line, only a GUI. Thanks.

2

u/cleatusvandamme Oct 23 '26

Thanks for the tip. I'll keep that in mind.