This modules directory was created using the following registries configuration: {"default":"https://registry.npm.taobao.org/"}. The current configuration is {"default":"https://registry.npmjs.org/"}. To
recreate the modules directory using the new settings, run "pnpm install".
运行pnpm报错,原因:发布npm时候换了官方镜像。文章来源:https://uudwc.com/A/LmqY2
解决办法:修改回淘宝镜像:npm config set registry=https://registry.npm.taobao.org文章来源地址https://uudwc.com/A/LmqY2