Getting cert error when running the code #408
Replies: 1 comment
-
I used below code as workaround: try{
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I followed the getting started guide and when I run the code "npm run dev" I get the below error:
11:56:06 AM zudoku loaded config file C:\Users\saz\mobile-app\zudoku.config.ts
node:internal/deps/undici/undici:13484
Error.captureStackTrace(err);
^
TypeError: fetch failed
at node:internal/deps/undici/undici:13484:13
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async getLatestVersion (file:///C:/Users/saz/mobile-app/node_modules/zudoku/dist/cli/common/outdated.js:30:22)
at async getVersionCheckInfo (file:///C:/Users/saz/mobile-app/node_modules/zudoku/dist/cli/common/outdated.js:70:31)
at async warnIfOutdatedVersion (file:///C:/Users/saz/mobile-app/node_modules/zudoku/dist/cli/common/outdated.js:16:30) {
[cause]: Error: self-signed certificate in certificate chain
at TLSSocket.onConnectSecure (node:_tls_wrap:1679:34)
at TLSSocket.emit (node:events:524:28)
at TLSSocket._finishInit (node:_tls_wrap:1078:8)
at ssl.onhandshakedone (node:_tls_wrap:864:12) {
code: 'SELF_SIGNED_CERT_IN_CHAIN'
}
}
Node.js v22.12.0
Beta Was this translation helpful? Give feedback.
All reactions