Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Weird Build Error with EPIPE on Debian WSL #16

@AuroraMaster

Description

@AuroraMaster

wsl2 debian12 node18.20.4
after dev

git clone https://github.com/dominiksta/wournal/
npm i
npm run dev
root@Aurora:~/workspace/wournal# npm run dev

> [email protected] dev
> npm run start


> [email protected] start
> cross-env NODE_ENV=development electron-forge start

✔ Checking your system
✔ Locating application
✔ Loading configuration
✔ Preparing native dependencies [0.5s]
✔ Running generateAssets hook
✔ [plugin-webpack] Compiling main process code [0.6s]
⠴ [plugin-webpack] Launching dev servers for renderer process code
root@Aurora:~/workspace/wournal# Error: write EPIPE
at target._send (node:internal/child_process:872:20)
at target.send (node:internal/child_process:745:19)
at /root/workspace/wournal/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/expose-rpc.js:27:31
at new Promise (<anonymous>)
at sendMessage (/root/workspace/wournal/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/expose-rpc.js:19:38)
at /root/workspace/wournal/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/expose-rpc.js:60:27
at Generator.next (<anonymous>)
at fulfilled (/root/workspace/wournal/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'
}
Error: write EPIPE
at target._send (node:internal/child_process:872:20)
at target.send (node:internal/child_process:745:19)
at /root/workspace/wournal/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/expose-rpc.js:27:31
at new Promise (<anonymous>)
at sendMessage (/root/workspace/wournal/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/expose-rpc.js:19:38)
at /root/workspace/wournal/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/expose-rpc.js:60:27
at Generator.next (<anonymous>)
at fulfilled (/root/workspace/wournal/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'
}

gpt said maybe port maxbuf overflow ,
Tried increasing buffer size (useless)
Try port (useless)
Try streaming (not implemented)

I don't know what to do anymore, need help

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions