一、问题
windows11
下新安装DevEco Studio
首次创建项目时,pnpm
安装失败。
1 2 3 |
Installing pnpm@8.13.1... ... Process finished with exit code -1 |
二、解决
进入C盘用户下.npmrc
,修改registry
1 2 |
strict-ssl=false registry=https://repo.huaweicloud.com/repository/npm/ |
三、成功
