yarn 安装 qmarkdown 报 yarn 网络错误 想使用 quasar 的 qmarkdown [https://qmarkdown.netlify.app/developing/using-qmarkdown](https://link.segmentfault.com/?enc=wVU%2FOrCcroGLe8tifoSu1Q%3D%3D.v7LEyRLmYwaYM3yNCVWPZ01RJI5WbguDkyT6gjbEiLbAXSUBeTkB2wQBY03Y%2Bb4AXOPjaFfEIvJ7kQl65IMOrg%3D%3D) 感觉用法很优雅 所以我参考 [https://madewith.cn/649](https://link.segmentfault.com/?enc=AijeKT2lkkZaNfaps52t%2Bw%3D%3D.pjAy3h5Ub2RXGfnm1V0gKeQcCSybm8XQYGccihboGeU%3D) 使用 yarn 安装 qmarkdown 但是报错了,莫名其妙 ─➤ yarn add @quasar/qmarkdown 130 ↵ yarn add v1.22.21 [1/4] 🔍 Resolving packages... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... error Error: read ECONNRESET at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. 然后我参考 设置了淘宝镜像,在安装更加不行了 ╰─➤ yarn config set registry https://registry.npm.taobao.org 1 ↵ yarn config v1.22.21 success Set "registry" to "https://registry.npm.taobao.org". ✨ Done in 0.02s. ─➤ yarn add @quasar/qmarkdown yarn add v1.22.21 [1/4] 🔍 Resolving packages... error Error: certificate has expired at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34) at TLSSocket.emit (node:events:513:28) at TLSSocket._finishInit (node:_tls_wrap:953:8) at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12) info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. 是因为不存在这个包,还是真的是网络问题?  [https://www.npmjs.com/search?q=qmarkdown](https://link.segmentfault.com/?enc=XbSVAmCImgAV6W5HlESlqA%3D%3D.yU1UkGnQoml%2Fieigx51QZQ%2BCXxL%2B9YnWm7Ynt9HOXDkgrmVaheELdIVGFaFRb%2B0y) * * * 重新找了一个包:[https://qmarkdown.netlify.app/all-about-qmarkdown/installatio...](https://link.segmentfault.com/?enc=WkeX2YaRYDYnY%2FYidmILuA%3D%3D.wYHFiEMXBz93rFn78XwmZBDO6VPUQfvRtBQ%2B30ESXid6YAesL%2FA88i1lCIv8TnAH0CTU38T8c5pnzy%2BfNIyJ0qKTnDSk1eWrLwujGL2Bv58%3D) 安装还是报错 ─➤ yarn add @quasar/quasar-ui-qmarkdown@next 1 ↵ yarn add v1.22.21 info No lockfile found. [1/4] 🔍 Resolving packages... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... error Error: read ECONNRESET at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. 我按照 [https://stackoverflow.com/questions/51508364/yarn-there-appears-to-be-trouble-with-your-network-connection-retrying](https://link.segmentfault.com/?enc=ifeyT7Wl0OvMD%2FJEP58oZw%3D%3D.j%2FMsWCWUSVziUSL1mmkJ%2FxFignRjba5uLUGJgwwYtoEq4Gc4o1dHuGRuiaOW5hciTWvh%2FXMKwD31BQnhVmwN4R22kBxcKLvzLiFbc02%2BlLC1mmymIbSoOr96e0c5K2ixsYajzTclSBL3ZoYH0hE0iFLA7ngsQx5X20fsz%2Bb1vT8%3D) 里面的把 yarn.lock 删除之后,重新执行 `yarn add @quasar/quasar-ui-qmarkdown@next` 还是一样的报错