README错误,更改旧淘宝npm域名为新的 (#361)

pull/366/head
xiaoxing365 2024-09-21 02:04:18 +08:00 committed by GitHub
parent 98ed2340e4
commit 8f1ab61038
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -349,9 +349,9 @@ npm config delete https-proxy
运行如下命令即可安装所需依赖:
> 注lerna指定为6.x版本更高版本会导致打包失败不兼容导致
```shell
npm install cnpm -g --registry=https://registry.npm.taobao.org
npm install -g cnpm --registry=https://registry.npmmirror.com
cnpm install lerna@6 -g
cnpm install -g lerna@6
```
@ -367,7 +367,7 @@ cd dev-sidecar
# 注意不要使用 `npm install` 来安装依赖,因为 `lerna bootstrap` 会自动安装依赖
lerna bootstrap
# 如果 `lerna bootstrap` 有报错可以尝试执行如下两行命令用yarn替换掉npm
#cnpm install yarn -g
#cnpm install -g yarn
#lerna bootstrap --npm-client=yarn
# 运行DevSidecar