mirror of
https://github.com/electron/electron.git
synced 2026-01-11 00:18:02 -05:00
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 ```
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user