electron / electron/forge

Running ```electron-forge make``` fails with no message at 'Preparing native dependencies' stage

Open
#3,603 13 comments 4 reactions 0 assignees View on GitHub
bug package
Dominant language
TypeScript
Stars
7.1k
Forks
641
Avg merge
3d 1h
Merged PRs (30d)
30

Description

### Pre-flight checklist

- [X] I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
- [X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

### Electron Forge version

7.4.0

### Electron version

v30.0.6

### Operating system

macOS Sonoma 14.2 (build 23C5030f)

### Last known working Electron Forge version

N/a.

### Expected behavior

When running ```electron-forge make```, the application should build.

### Actual behavior

The electron app fails to build at the "Preparing native dependencies" stage. There is no output.

![CleanShot 2024-05-20 at 18 34 41](https://github.com/electron/forge/assets/30822983/d338dc06-5e88-4967-a4ca-d7a7a54c0d6c)

### Steps to reproduce

This is my electron entrypoint file. I just started working on this project so there isn't much here right now.

```
import { app, BrowserWindow } from 'electron'

let mainWindow
app.whenReady().then(() => {
mainWindow = new BrowserWindow({
width: 800,
height: 600
})
mainWindow.loadURL('http://localhost:5173')
})

```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.