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

[Help] Self-Signed Certificate Error During Installation #803

Open
bognar-dev opened this issue Nov 21, 2024 · 1 comment
Open

[Help] Self-Signed Certificate Error During Installation #803

bognar-dev opened this issue Nov 21, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@bognar-dev
Copy link

Describe the problem you are experiencing

I'm experiencing an error related to a self-signed certificate in the certificate chain while trying to install dependencies for the onlook-dev/onlook repository. The error occurs specifically during the installation of the supabase package and halts the process. I have tried installing on three different devices, but the issue persists.

Error Details

RequestError: self-signed certificate in certificate chain
    at ClientRequest.<anonymous> (C:\Users\Bognar.NiklasStefan\Downloads\onlook\node_modules\got\dist\source\core\index.js:970:111)
    at Object.onceWrapper (node:events:635:26)
    at ClientRequest.emit (node:events:532:35)
    at origin.emit (C:\Users\Bognar.NiklasStefan\Downloads\onlook\node_modules\@szmarczak\http-timer\dist\source\index.js:43:20)
    at emitErrorEvent (node:_http_client:103:11)
    at TLSSocket.socketErrorListener (node:_http_client:506:5)
    at TLSSocket.emit (node:events:520:28)
    at emitErrorNT (node:internal/streams/destroy:170:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
    at TLSSocket.onConnectSecure (node:_tls_wrap:1679:34)
    at TLSSocket.emit (node:events:520:28)
    at TLSSocket._finishInit (node:_tls_wrap:1078:8)
    at ssl.onhandshakedone (node:_tls_wrap:864:12)

Request for Help

  • Could someone help me resolve this self-signed certificate error?
  • Are there any specific configurations or steps I need to follow to bypass or fix this certificate issue?

Any guidance or steps to fix this issue would be greatly appreciated. Thank you!

@bognar-dev bognar-dev added the help wanted Extra attention is needed label Nov 21, 2024
@Kitenite
Copy link
Contributor

I don't believe this is specific to Onlook. What I can infer from this is your current system is preventing network calls necessary to install npm packages. If you're using a company device, it may be a security configuration to be done with IT. Please let me know if this is not the case.

You may be able to disable this SSL check for your npm but i do NOT recommend doing so without checking with your IT/sysadmin.

npm config set strict-ssl false

Please lmk if this helps :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants