Skip to content

Commit

Permalink
fix: registry
Browse files Browse the repository at this point in the history
  • Loading branch information
hailaz committed Nov 26, 2024
1 parent 43fa36e commit 734d6ed
Show file tree
Hide file tree
Showing 2 changed files with 182 additions and 174 deletions.
8 changes: 8 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ yarn start

# 构建
yarn build

# 更换源
yarn config get registry
yarn config set registry https://registry.npmjs.org
rm yarn.lock
yarn install --force
# 上面的命令还是更换不了,先手动替换
sed -i 's|https://mirrors.tencent.com/npm/|https://registry.npmjs.org/|g' yarn.lock
```

## 教程贡献
Expand Down
Loading

0 comments on commit 734d6ed

Please sign in to comment.