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 search hangs #122

Closed
kurtharriger opened this issue Sep 18, 2014 · 1 comment
Closed

npm search hangs #122

kurtharriger opened this issue Sep 18, 2014 · 1 comment

Comments

@kurtharriger
Copy link

npm search alm-search --registry http://bld-sinopia-01:4873

Says it's building index for first time...
But it hangs, looking at the logs I see some errors that seem to indicate it probably has already failed:

 http  <-- 200, user: undefined, req: 'GET /-/all', bytes: 0/0
 http  --> 200, req: 'GET https://registry.npmjs.org/-/all', bytes: 0/51961043
 error -=- error reading package.json: ENOTDIR, open '/opt/sinopia/storage/.sinopia-db.json/package.json'
@rlidwka rlidwka closed this as completed in eda8dfe Oct 2, 2014
@rlidwka
Copy link
Owner

rlidwka commented Oct 2, 2014

Fixed, thanks!

This part of the code isn't tested very well, so this issue slipped through undetected. So I added some tests as well.

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