joyent/node-smartdc — Issue #10: sdc-setup failed with an exception
Author: edwardw
Created: 2011-12-02 04:31:39+00:00
State: open

I followed "Getting Started" instructions in http://api.joyentcloud.com/ and installed node, npm and smartdc package. But my very first run of ```sdc-setup``` failed with an exception:

```
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: No such module
at Object. (/usr/local/lib/node_modules/smartdc/bin/sdc-setup:33:21)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
at EventEmitter._tickCallback (node.js:192:40)
```

I used:
> node 0.6.3
> npm 1.0.106

and ```npm list``` gives me:
```
/Users/edward/ws/node
└─┬ smartdc@6.5.0-1
├── lru-cache@1.0.4
├─┬ nopt@1.0.10
│ └── abbrev@1.0.3
├─┬ restify@0.4.4
│ ├── formidable@1.0.2
│ ├── httpu@0.0.1
│ ├── node-uuid@1.2.0
│ ├── retry@0.4.0
│ └── semver@1.0.12
├── sprintf@0.1.1
└─┬ ssh-agent@0.1.0
└── ctype@0.3.1
```