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

better error message for 404 #63

Open
dominictarr opened this issue Apr 29, 2014 · 0 comments
Open

better error message for 404 #63

dominictarr opened this issue Apr 29, 2014 · 0 comments

Comments

@dominictarr
Copy link
Owner

currently you get this if a module name does not exist:
not obvious.

 npmd install level-binomial-replicate
GET https://registry.npmjs.org/level-binomial-replicate
404 https://registry.npmjs.org/level-binomial-replicate

/home/dominic/.nave/installed/0.10.26/lib/node_modules/npmd/node_modules/npmd-resolve/online.js:101
      var versions = Object.keys(json.versions)
                            ^
TypeError: Object.keys called on non-object
    at Function.keys (native)
    at next (/home/dominic/.nave/installed/0.10.26/lib/node_modules/npmd/node_modules/npmd-resolve/online.js:101:29)
    at /home/dominic/.nave/installed/0.10.26/lib/node_modules/npmd/node_modules/npmd-resolve/online.js:75:13
    at Object.oncomplete (fs.js:107:15)
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

1 participant