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

RequestError: certificate has expired #302

Open
sgzwiz opened this issue Mar 2, 2024 · 0 comments
Open

RequestError: certificate has expired #302

sgzwiz opened this issue Mar 2, 2024 · 0 comments

Comments

@sgzwiz
Copy link

sgzwiz commented Mar 2, 2024

[4/5] Building fresh packages...
[-/7] ⢀ waiting...
[-/7] ⠠ waiting...
[-/7] ⠠ waiting...
[4/7] ⠠ electron
error D:\project\lightproxy\node_modules\electron: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: D:\project\lightproxy\node_modules\electron
Output:
RequestError: certificate has expired
    at ClientRequest.<anonymous> (D:\project\lightproxy\node_modules\got\dist\source\core\index.js:970:111)
    at Object.onceWrapper (node:events:633:26)
    at ClientRequest.emit (node:events:530:35)
    at origin.emit (D:\project\lightproxy\node_modules\@szmarczak\http-timer\dist\source\index.js:43:20)
    at TLSSocket.socketErrorListener (node:_http_client:495:9)
    at TLSSocket.emit (node:events:518:28)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
    at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)




error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


npm config set registry https://registry.npmmirror.com
npm cache clean --force
npm config set strict-ssl false

换了几个镜像,依然是相同错误。
直接进入目录node_modules\electron,运行node install.js,没任何问题。但运行yarn run install-deps,到了这里就出错。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant