-
Notifications
You must be signed in to change notification settings - Fork 37
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
Missing a package version in local metadata database #56
Comments
hmm, sounds like it. what if you restart the sync process? hmm, the trouble with sync percentage is that there are so many update that two decimal places isn't enough. the progress bar is good on the initial sync, but if you have been offline for several days, there will stiff be modules to sync, and it might be down to 99.7% Although, I suspect the reconnecting logic in |
also: TODO npmd sync to update a specific module. |
The same.
Nope, but I after I removed lodash 2.4.1 was released 2013-12-03 so I guess this is not because of lag in sync. Maybe there's some inconsistency in handling sync, can it mark some keys as synced while they weren't properly synced? Sadly, as I see, there's no checksum mechanism in CouchDB sync protocol. |
Damn, that is strange. I took some care ensure that problems like this can't happen. But it looks like something has slipped through. The way this works will change in npmd@1, so which will avoid this problem, or at least allow you to work around it. |
Just installed npmd on my laptop, ran Then in another terminal I ran this and got an error:
|
is there a package.json in your current directory? |
When I try to install deps of a local package
npmd
fails with error:While
npmd --sync
says it is synced up to 100% andnpm info lodash
lists2.4.1
version as available.I suspect a failure in sync between npm registry and local metadata database
P.S. npmd is awesome, thanks!
The text was updated successfully, but these errors were encountered: