【VuePress】yarn add -D vuepress 出现 error Couldn‘t find package “vuepress“ on the “npm“ registry 杜小舟 2024-07-23 87 阅读1分钟 @[TOC] 错误描述 当创建项目后,使用yarn add -D vuepress出现了下面的错误: 原因 是因为你本地 npm 的 registry 镜像有问题 解决方法 执行下面的命令即可 npm config set registry "http://registry.npm.taobao.org"