next-learn icon indicating copy to clipboard operation
next-learn copied to clipboard

Unable to get issuer cert locally

Open ginger-collins opened this issue 1 year ago • 2 comments

when using "npm run seed" I get get and error return "UNABLE_TO_GET_ISSUER_CERT_LOCALLY". I am on Windows 10

seed node -r dotenv/config ./scripts/seed.js

node:events:496 throw er; // Unhandled 'error' event ^

Error: unable to get local issuer certificate at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34) at TLSSocket.emit (node:events:518:28) at TLSSocket._finishInit (node:_tls_wrap:1085:8) at ssl.onhandshakedone (node:_tls_wrap:871:12) Emitted 'error' event on WebSocket instance at: at emitErrorAndClose (C:\Repo\Github\personal\Next-JS-Dashboard\node_modules\ws\lib\websocket.js:1016:13) at ClientRequest. (C:\Repo\Github\personal\Next-JS-Dashboard\node_modules\ws\lib\websocket.js:864:5 at ClientRequest.emit (node:events:518:28) 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) { code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' }

Node.js v20.11.1

ginger-collins avatar Mar 01 '24 21:03 ginger-collins

I have the same error,Did you solved it?

keyty-str avatar Mar 22 '24 03:03 keyty-str

Same here!

AlessandroMarc avatar Apr 05 '24 14:04 AlessandroMarc