when update electron to ^20.0.0 ,npm install fail #626
Open
Description
sudo pnpm i
Packages: +79
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
node_modules/.pnpm/[email protected]/node_modules/electron: Running postinstall script, failed in 2m 11.1s
.../node_modules/electron postinstall$ node install.js
│ RequestError: read ETIMEDOUT
│ at ClientRequest.<anonymous> (/Users/jacky/rock/electron-quick-start/node_modules/.pnpm/[email protected]/node_modules/got/source/request-as-event-emitter.js:178:14)
│ at Object.onceWrapper (node:events:510:26)
│ at ClientRequest.emit (node:events:402:35)
│ at ClientRequest.origin.emit (/Users/jacky/rock/electron-quick-start/node_modules/.pnpm/@[email protected]/node_modules/@szmarczak/http-timer/source/index.js:37:11)
│ at TLSSocket.socketErrorListener (node:_http_client:447:9)
│ at TLSSocket.emit (node:events:390:28)
│ at emitErrorNT (node:internal/streams/destroy:157:8)
│ at emitErrorCloseNT (node:internal/streams/destroy:122:3)
│ at processTicksAndRejections (node:internal/process/task_queues:83:21)
└─ Failed in 2m 11.1s
Progress: resolved 80, reused 79, downloaded 0, added 0, done
ELIFECYCLE Command failed with exit code 1.
node version :16.13.2
pnpm version: 7.6.0
Metadata
Assignees
Labels
No labels