electron / electron/forge

Forge fails to package on Node.js 24.16 and 26

Open
#4,277 11 comments 6 reactions 1 assignee Claimed by @erickzhao View on GitHub
Dominant language
TypeScript
Stars
7.1k
Forks
641
Avg merge
3d 17m
Merged PRs (30d)
32

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.

### Forge version

7.11.2

### Electron version

42.3.0

### Operating system

Kubuntu 24.04

### Last known working Forge version

_No response_

### Expected behavior

package success and out folder not empty

### Actual behavior

forever package and out folder empty

Image

### Steps to reproduce

1) clone https://github.com/long76/build_bug
2) install nodejs `24.16.0`
3) `npm install`
4) `npm run dist`

### Additional information

on `24.15.0` all ok

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.