工具都是有利有弊,使用 pnpm 过程中经常会出现一个错误:
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 -g".
在切换了 registery 源后,pnpm 安装全局包会收到 ERR_PNPM_REGISTRIES_MISMATCH 报错需要执行一下:
pnpm install -g
pnpm install -g pnpm
标签:install,ERR,报错,https,pnpm,org From: https://blog.51cto.com/u_15311558/8983314