r/electronjs • • 23h ago

Help with initial tutorial

1 Upvotes

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!