Eclipse Scout:Eclipse IDE中pnpm install执行失败求助
运行HelloScout演示应用时pnpm install证书错误问题
我在Eclipse IDE中,遵循官方Hello Scout Classic指南操作运行helloscout演示应用,执行pnpm install步骤时失败,错误提示为证书链中存在自签名证书,控制台输出如下:
Running 'pnpm install' in C:\Users\JD\eclipse-scout-demos-workspace\helloworld\helloscout Scope: all 2 workspace projects FetchError: request to https://registry.npmjs.org/pnpm failed, reason: self-signed certificate in certificate chain at ClientRequest.<anonymous> (C:\Users\JD\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:73748:18) at ClientRequest.emit (node:events:518:28) at emitErrorEvent (node:_http_client:101:11) at TLSSocket.socketErrorListener (node:_http_client:504:5) at TLSSocket.emit (node:events:530:35) 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) FetchError: request to https://registry.npmjs.org/@eclipse-scout%2Freleng failed, reason: self-signed certificate in certificate chain at ClientRequest.<anonymous> (C:\Users\JD\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:73748:18) at ClientRequest.emit (node:events:518:28) at emitErrorEvent (node:_http_client:101:11) at TLSSocket.socketErrorListener (node:_http_client:504:5) at TLSSocket.emit (node:events:530:35) 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) FetchError: request to https://registry.npmjs.org/@eclipse-scout%2Feslint-config failed, reason: self-signed certificate in certificate chain at ClientRequest.<anonymous> (C:\Users\JD\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:73748:18) at ClientRequest.emit (node:events:518:28) at emitErrorEvent (node:_http_client:101:11) at TLSSocket.socketErrorListener (node:_http_client:504:5) at TLSSocket.emit (node:events:530:35) 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) FetchError: request to https://registry.npmjs.org/eslint failed, reason: self-signed certificate in certificate chain at ClientRequest.<anonymous> (C:\Users\JD\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:73748:18) at ClientRequest.emit (node:events:518:28) at emitErrorEvent (node:_http_client:101:11) at TLSSocket.socketErrorListener (node:_http_client:504:5) at TLSSocket.emit (node:events:530:35) 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) FetchError: request to https://registry.npmjs.org/@eclipse-scout%2Fcli failed, reason: self-signed certificate in certificate chain at ClientRequest.<anonymous> (C:\Users\JD\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:73748:18) at ClientRequest.emit (node:events:518:28) at emitErrorEvent (node:_http_client:101:11) at TLSSocket.socketErrorListener (node:_http_client:504:5) at TLSSocket.emit (node:events:530:35) 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) FetchError: request to https://registry.npmjs.org/@types%2Fjquery failed, reason: self-signed certificate in certificate chain at ClientRequest.<anonymous> (C:\Users\JD\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:73748:18) at ClientRequest.emit (node:events:518:28) at emitErrorEvent (node:_http_client:101:11) at TLSSocket.socketErrorListener (node:_http_client:504:5) at TLSSocket.emit (node:events:530:35) 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) FetchError: request to https://registry.npmjs.org/jquery failed, reason: self-signed certificate in certificate chain at ClientRequest.<anonymous> (C:\Users\JD\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:73748:18) at ClientRequest.emit (node:events:518:28) at emitErrorEvent (node:_http_client:101:11) at TLSSocket.socketErrorListener (node:_http_client:504:5) at TLSSocket.emit (node:events:530:35) 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) FetchError: request to https://registry.npmjs.org/@eclipse-scout%2Fcore failed, reason: self-signed certificate in certificate chain at ClientRequest.<anonymous> (C:\Users\JD\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:73748:18) at ClientRequest.emit (node:events:518:28) at emitErrorEvent (node:_http_client:101:11) at TLSSocket.socketErrorListener (node:_http_client:504:5) at TLSSocket.emit (node:events:530:35) 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) FetchError: request to https://registry.npmjs.org/@eclipse-scout%2Ftsconfig failed, reason: self-signed certificate in certificate chain at ClientRequest.<anonymous> (C:\Users\JD\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:73748:18) at ClientRequest.emit (node:events:518:28) at emitErrorEvent (node:_http_client:101:11) at TLSSocket.socketErrorListener (node:_http_client:504:5) at TLSSocket.emit (node:events:530:35) 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)
请问有人能帮我解决这个问题吗?
内容的提问来源于stack exchange,提问作者JDaniel
相关产品推荐
相关产品推荐

