electron / electron/forge

webpack-typescript template results in Error: write EPIPE

Open
#3,861 6 comments 1 reaction 0 assignees 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.7.0

### Electron version

34.2.0

### Operating system

macOS Sequoia 15.3.1

### Last known working Forge version

_No response_

### Expected behavior

I tried to use the webpack-typescript template.

### Actual behavior

> electron-forge start

✔ Checking your system
✔ Locating application
✔ Loading configuration
✔ Preparing native dependencies [0.1s]
✔ Running generateAssets hook
❯ Running preStart hook
❯ [plugin-webpack] Preparing webpack bundles
✔ Compiling main process code [0.3s]
⠴ Launching dev servers for renderer process code
(base) lorenz@MacBook-Air my-app % Error: write EPIPE
at target._send (node:internal/child_process:872:20)
at target.send (node:internal/child_process:745:19)
at /Users/lorenz/Development/my-app/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/expose-rpc.js:27:31
at new Promise ()
at sendMessage (/Users/lorenz/Development/my-app/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/expose-rpc.js:19:38)
at /Users/lorenz/Development/my-app/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/expose-rpc.js:60:27
at Generator.next ()
at fulfilled (/Users/lorenz/Development/my-app/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/expose-rpc.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}

### Steps to reproduce

npx create-electron-app@latest my-app --template=webpack-typescript

cd my-app

npm start

### Additional information

node v18.20.2 (npm v10.5.0)

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.