Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

尝试借鉴 发布到私有npm仓库 #7

Open
ziyingjie opened this issue Feb 28, 2022 · 2 comments
Open

尝试借鉴 发布到私有npm仓库 #7

ziyingjie opened this issue Feb 28, 2022 · 2 comments

Comments

@ziyingjie
Copy link

lerna info execute Skipping releases lerna ERR! Error: Command failed: git add -- packages/package1/package.json packages/package1/package-lock.json packages/package2/package.json packages/package2/package-lock.json lerna.json lerna ERR! The following paths are ignored by one of your .gitignore files: lerna ERR! packages/package1/package-lock.json lerna ERR! packages/package2/package-lock.json lerna ERR! Use -f if you really want to add them.
https://github.com/lerna/lerna/issues/2522
遇到关于package-lock.json相同的问题
不知大佬有遇到没有

@zxyue25
Copy link
Member

zxyue25 commented Feb 28, 2022

可以先cd到每个子包目录下发包,lerna发多包的确有这个问题

@ziyingjie
Copy link
Author

试了下 删除package-lock.json 可以发多包 😮‍💨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants