Getting error while running npx dt-app@latest create --environment-url <URL>
Searching for template repositories…Error reading repository archive: TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) ause: Error: self-signed certificate in certificate chain
at TLSSocket.onConnectSecure (node:_tls_wrap:1659:34)
at TLSSocket.emit (node:events:517:28)
at TLSSocket._finishInit (node:_tls_wrap:1070:8)
at ssl.onhandshakedone (node:_tls_wrap:856:12) {
code: ‘SELF_SIGNED_CERT_IN_CHAIN’
Maybe there is somewhere a firewall in place which does SSL termination and therefore you are getting this error.
To disable ssl check you can do following