Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to solve this problem with postinstall$ node install.js #3580

Open
StephenShawn opened this issue Jan 23, 2024 · 0 comments
Open

How to solve this problem with postinstall$ node install.js #3580

StephenShawn opened this issue Jan 23, 2024 · 0 comments
Labels

Comments

@StephenShawn
Copy link

Prerequisites

  • Using pnpm

Current Behavior

node_modules/.pnpm/[email protected]/node_modules/electron: Running postinstallnode_modules/.pnpm/[email protected]/node_modules/electron: Running postinstall script, failed in 1.6s
.../node_modules/electron postinstall$ node install.js
│ RequestError: certificate has expired
│     at ClientRequest.<anonymous> (D:\vscode\react-electron-webpack\deskto
│     at Object.onceWrapper (node:events:646:26)
│     at ClientRequest.emit (node:events:538:35)
│     at ClientRequest.origin.emit (D:\vscode\react-electron-webpack\deskto
│     at TLSSocket.socketErrorListener (node:_http_client:442:9)
│     at TLSSocket.emit (node:events:526: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
│     at TLSSocket.onConnectSecure (node:_tls_wrap:1530:34)
│     at TLSSocket.emit (node:events:526:28)
│     at TLSSocket._finishInit (node:_tls_wrap:944:8)
│     at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12)
└─ Failed in 1.6s at D:\vscode\react-electron-webpack\desktop-app\node_modules\.pnpm\e[email protected]\node_modules\electron
 ELIFECYCLE  Command failed with exit code 1.

Your Environment

  • Node version : v16.14.2
  • electron-react-boilerplate version or branch : main
  • Operating System and version : win10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant