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

Changed Folder Structure #58

Closed
tamoore opened this issue Feb 13, 2016 · 7 comments
Closed

Changed Folder Structure #58

tamoore opened this issue Feb 13, 2016 · 7 comments

Comments

@tamoore
Copy link

tamoore commented Feb 13, 2016

Hi, I was trying lerna for a test project and it was all going fine until I decided to rename my modules in packages.

After I changed the name even if I delete node and npm and then reinstall lerna I get the follow:

There was a problem publishing.
Error: Command failed: git rev-list --tags --max-count=1
usage: git rev-list [OPTION] <commit-id>... [ -- paths... ]

I was able to bootstrap and publish without any issues prior to folder renaming.

I have a .git folder. I've tried starting again with a fresh folder and project, restarting my computer...no luck, it's dead in the water.

Is their some state being managed somewhere globally? I couldn't find anything that suggested their was, but it feels like something is amiss.

@gigabo
Copy link
Contributor

gigabo commented Feb 13, 2016

Hi @toddmoorega. I ran into that error this week. Turns out there's a fix in master that just hasn't been published yet.

My workaround was to just use master instead of v1.1.0 for now.

@hzoo
Copy link
Contributor

hzoo commented Feb 13, 2016

Maybe i'l just publish 1.1.1 (without uploading git tags to the repo or anythin) with that fix since we want to be using 2.0.

Although you can use the prerelease tag too. { latest: '1.1.0', prerelease: '2.0.0-dev.05e9f0a' } or master.

Or pin to the git sha of the fix 204b94cea287daba9cb8f0b8c1122072d7df3000

@tamoore
Copy link
Author

tamoore commented Feb 13, 2016

Thanks, I suppose I should of tried that but it was getting late ;)

The master branch of lerna works fine, it's publishing like a boss again.

@hzoo
Copy link
Contributor

hzoo commented Feb 16, 2016

FYI, We published 1.1.1

gigabo added a commit to gigabo/react-server that referenced this issue Feb 16, 2016
@tamoore
Copy link
Author

tamoore commented Feb 16, 2016

👍

@hzoo
Copy link
Contributor

hzoo commented Mar 6, 2016

I guess this can be closed then?

@hzoo hzoo closed this as completed Mar 6, 2016
@lock
Copy link

lock bot commented Dec 28, 2018

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants