Skip to content

Commit

Permalink
feat: npm publish失败原因分析
Browse files Browse the repository at this point in the history
  • Loading branch information
MuYi086 committed Jul 17, 2024
1 parent 2495716 commit 7e8e0b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Docs/Articles/Node/使用verdaccio搭建本地npm仓库.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ npm publish
# 如果发布一个范围公共包
npm publish --access public
```
::: warning 注意
发布失败时,注意看 `log` 日志

排除未登录原因后,一般依赖引用了别的包导致体积过大

增加 `.npmignore` 忽略 `node_modules` 即可
:::

## 使用pm2守护进程
```shell
Expand Down

0 comments on commit 7e8e0b6

Please sign in to comment.