在新版的青龍面板自帶的依賴安裝中總是安裝失敗,產(chǎn)看日志發(fā)現(xiàn):
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? 報(bào)錯(cuò),解決辦法
:
廢話不多說(shuō),直接上代碼文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-598804.html
pnpm install -g
pnpm install -g pnpm
然后我們?cè)俅卧诿姘逯袊L試安裝依賴,發(fā)現(xiàn)可以正常安裝。文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-598804.html
到了這里,關(guān)于【青龍2.13依賴安裝失敗修復(fù)】ERR_PNPM_REGISTRIES_MISMATCH This modules directory was created using ...的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!