dominictarr / npmd

MIT License
450 stars 37 forks source link

install displays package's package.json instead of installing it #74

Closed joeytwiddle closed 10 years ago

joeytwiddle commented 10 years ago

Like this:

$ npmd install ddp
GET https://registry.npmjs.org/ddp-ejson
GET https://registry.npmjs.org/ddp-underscore-patched
200 https://registry.npmjs.org/ddp-underscore-patched
200 https://registry.npmjs.org/ddp-ejson
GET https://registry.npmjs.org/ddp-ejson/-/ddp-ejson-0.8.1-3.tgz
GET https://registry.npmjs.org/ddp-underscore-patched/-/ddp-underscore-patched-0.8.1-2.tgz
GET https://registry.npmjs.org/ddp/-/ddp-0.7.0.tgz
{
  "name": "ddp",
  "version": "0.7.0",
  "shasum": "7ab51e9cdef433b115b88f002cc959de9f48ef19",
  "tarball": "http://registry.npmjs.org/ddp/-/ddp-0.7.0.tgz",
  "path": "/tmp/node_modules/ddp"
}
$
kenany commented 10 years ago

It installed to /tmp/node_modules/ddp, no?

dominictarr commented 10 years ago

yeah that looks like a successful install - it appears you where running it from /tmp if you wern't, then something strange is going on.

dominictarr commented 10 years ago

can you try again? are you able to require the module?

joeytwiddle commented 10 years ago

I had moved to /tmp just for testing. Um, you are right it works fine. Something was wrong with the user I think! (Me.)