Skip to content

Certificate issue after installing NPM package #62

@dimdusart

Description

@dimdusart

Hello,

After executing npm i -g @cap-js/mcp-server in a local VSCode, the following error arises when trying to execute command cds-mcp :

node:internal/deps/undici/undici:12502
Error.captureStackTrace(err, this);
^

TypeError: fetch failed
at node:internal/deps/undici/undici:12502:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async downloadEmbeddings (file:///C:/Users//AppData/Roaming/npm/node_modules/@cap-js/mcp-server/lib/searchMarkdownDocs.js:45:26) {
[cause]: Error: self-signed certificate in certificate chain
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:519:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12) {
code: 'SELF_SIGNED_CERT_IN_CHAIN'
}
}

Node.js v20.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions