3scale-labs / 3scale_ws_api_for_nodejs

3scale is an API Infrastructure service which handles API Keys, Rate Limiting, Analytics, Billing Payments and Developer Management. Includes a configurable API dashboard and developer portal CMS. More product stuff at http://www.3scale.net/, support information at http://support.3scale.net/.
http://www.3scale.net
MIT License
22 stars 13 forks source link

npm install not working #1

Closed danhstevens closed 12 years ago

danhstevens commented 12 years ago

When running npm install 3scale and then adding var Client = require('3scale').Client; the program fails to run stating Error: Cannot find module '3scale'. Output from npm list is as follows, showing that 3scale is installed:

├─┬ 3scale@0.2.0
│ └─┬ libxmljs-easy@0.1.0
│   ├── libxmljs@0.5.4
│   └── node-proxy@0.5.2
├─┬ http-signature@0.9.9
│ ├── asn1@0.1.11
│ └── ctype@0.5.0
└─┬ restify@1.4.4
  ├── async@0.1.22
  ├── bunyan@0.10.0
  ├── byline@2.0.2
  ├── dtrace-provider@0.0.9
  ├── formidable@1.0.11
  ├── lru-cache@1.1.0
  ├── mime@1.2.5
  ├── node-uuid@1.3.3
  ├── qs@0.5.0
  ├── retry@0.6.0
  └── semver@1.0.14

It appears no library files are included. Here are the results of _ls nodemodules/3scale

LICENCE     README.md   node_modules    package.json

Please advise.

Many thanks, Dan

danhstevens commented 12 years ago

It's also worthy to note I'm running node v0.8.4

joahking commented 12 years ago

already replied on email, closing this one