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://www.toymoban.com/news/detail-646235.html
解决办法:修改回淘宝镜像:npm config set registry=https://registry.npm.taobao.org文章来源地址https://www.toymoban.com/news/detail-646235.html
到了这里,关于This modules directory was created using the following registries configuration: {“default“:“https:/的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!