Browse Source

docs(quick-start): make import command npm 7-compatible (#28077)

With npm 7, just running `npx @electron-forge/cli import` results in:

```
npm ERR! could not determine executable to run
```
Mark Lee 4 years ago
parent
commit
6bce814736
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/tutorial/quick-start.md

+ 2 - 1
docs/tutorial/quick-start.md

@@ -167,7 +167,8 @@ The simplest and the fastest way to distribute your newly created app is using
 1. Import Electron Forge to your app folder:
 
     ```sh
-    npx @electron-forge/cli import
+    npm install --save-dev @electron-forge/cli
+    npx electron-forge import
 
     ✔ Checking your system
     ✔ Initializing Git Repository