Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions templates/webpack-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ npx create-electron-app@latest my-new-app --template=webpack
```

Once you've initialized the template, you'll need to run `npm start` in the generated directory. See the [Webpack Plugin](../config/plugins/webpack.md) documentation for Electron Forge-specific configuration options.

{% hint style="warning" %}
Executing `npm start` immediately after creating the app will reliably produce two errors due to [an issue with electron](https://github.com/electron/electron/issues/41614)that is currently marked as "wontfix." A temporary fix for one of the errors can be performed by commenting out line 23 (`mainWindow.webContents.openDevTools()`) until you have found a solution that is appropriate with your specific app.
{% endhint %}