在新版的青龙面板自带的依赖安装中总是安装失败,产看日志发现:
ERR_PNPM_REGISTRIES_MISMATCH This modules directory was created using the following registries configuration: {“default”:“https://registry.npmjs.org/”}. The current configuration is {“default”:“https://registry.npm.taobao.org/”}. To recreate the modules directory using the new settings, run “pnpm install”.
pnpm 在切换 registery 后 ERR_PNPM_REGISTRIES_MISMATCH 报错,解决办法
:
废话不多说,直接上代码文章来源:https://www.toymoban.com/news/detail-598804.html
pnpm install -g
pnpm install -g pnpm
然后我们再次在面板中尝试安装依赖,发现可以正常安装。
文章来源地址https://www.toymoban.com/news/detail-598804.html
到了这里,关于【青龙2.13依赖安装失败修复】ERR_PNPM_REGISTRIES_MISMATCH This modules directory was created using ...的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!