neutralinojs / neutralinojs-cli

neu cli for Neutralinojs
https://neutralino.js.org/docs/cli/neu-cli
MIT License
91 stars 56 forks source link

Cannot create project using neu cli. Error: self-signed certificate in certificate chain #272

Open NoelSMartin opened 1 month ago

NoelSMartin commented 1 month ago

Issue while creating project

C:\neu>neu create actions neu: INFO Checking if neutralinojs/neutralinojs-minimal is a valid Neutralinojs app template... neu: WARN Unable to check the template validity via the GitHub API. Assuming that the template is valid... neu: INFO Downloading neutralinojs/neutralinojs-minimal template to actions directory... node:events:495 throw er; // Unhandled 'error' event ^

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) Emitted 'error' event on Writable instance at: at eventHandlers. (C:\Users\NOELMARTIN\AppData\Roaming\nvm\v18.20.3\node_modules\@neutralinojs\neu\node_modules\follow-redirects\index.js:38:24) at ClientRequest.emit (node:events:517:28) at TLSSocket.socketErrorListener (node:_http_client:501:9) at TLSSocket.emit (node:events:517:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'SELF_SIGNED_CERT_IN_CHAIN' }

Node.js v18.20.3

C:\neu>

C:\neu>neu version --- Global --- neu CLI: v11.2.0 (latest) neu: INFO Run this command inside your project directory to get project specific Neutralinojs version.