Browse Source

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

pull/366/head
xiaoxing365 2 months ago committed by GitHub
parent
commit
8f1ab61038
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      README.md

6
README.md

@ -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

Loading…
Cancel
Save