views:

89

answers:

1

I've just installed Yeti from Yahoo, but when I go to http://localhost:8000/ I get this:

Error: Cannot find module 'jade'
at loadModule (node.js:289:15)
at require (node.js:420:14)
at ServerResponse.render (/usr/local/lib/node/.npm/yeti/0.1.0/dependencies/express/view.js:258:46)
at Object.<anonymous> (/usr/local/lib/node/.npm/yeti/0.1.0/package/lib/server.js:28:13)
at pass (/usr/local/lib/node/.npm/yeti/0.1.0/dependencies/connect/middleware/router.js:67:31)
at /usr/local/lib/node/.npm/yeti/0.1.0/dependencies/connect/middleware/router.js:80:14
at EventEmitter._tickCallback (node.js:50:25)
at node.js:773:9

I also want to mention that i have installed this using the installer package from Yahoo! http://yuilibrary.com/downloads/download.php?file=3716057163a82b4b00c2a00ab0bb186e

Is there a fix for this?

A: 

I haven't installed yeti, but by looking at the node stack trace, it looks like the maintainer left out the jade module.

From the console try:

/usr/local/bin/npm install jade

or

sudo /usr/local/bin/npm install jade

depending on your permissions.

Repeat for any other missing modules. If you're still stuck, I can download it and check it out.

bxjx
Now, I get this: sudo: /usr/local/bin/npm: command not found
Uffo
Maybe the installer didn't install the npm binary. Maybe see if you can find it. Does 'type npm' return anything? Is there any file called npm in the /usr/local directory? 'find /usr/local -name npm'
bxjx